Go to the documentation of this file. 1 #ifndef _UAPI_LINUX_KD_H
2 #define _UAPI_LINUX_KD_H
3 #include <linux/types.h>
4 #include <linux/compiler.h>
8 #define GIO_FONT 0x4B60
9 #define PIO_FONT 0x4B61
11 #define GIO_FONTX 0x4B6B
12 #define PIO_FONTX 0x4B6C
19 #define PIO_FONTRESET 0x4B6D
21 #define GIO_CMAP 0x4B70
22 #define PIO_CMAP 0x4B71
24 #define KIOCSOUND 0x4B2F
25 #define KDMKTONE 0x4B30
27 #define KDGETLED 0x4B31
28 #define KDSETLED 0x4B32
33 #define KDGKBTYPE 0x4B33
38 #define KDADDIO 0x4B34
39 #define KDDELIO 0x4B35
40 #define KDENABIO 0x4B36
41 #define KDDISABIO 0x4B37
43 #define KDSETMODE 0x4B3A
45 #define KD_GRAPHICS 0x01
48 #define KDGETMODE 0x4B3B
50 #define KDMAPDISP 0x4B3C
51 #define KDUNMAPDISP 0x4B3D
55 #define GIO_SCRNMAP 0x4B40
56 #define PIO_SCRNMAP 0x4B41
57 #define GIO_UNISCRNMAP 0x4B69
58 #define PIO_UNISCRNMAP 0x4B6A
60 #define GIO_UNIMAP 0x4B66
69 #define PIO_UNIMAP 0x4B67
70 #define PIO_UNIMAPCLR 0x4B68
77 #define UNI_DIRECT_BASE 0xF000
78 #define UNI_DIRECT_MASK 0x01FF
82 #define K_MEDIUMRAW 0x02
83 #define K_UNICODE 0x03
85 #define KDGKBMODE 0x4B44
86 #define KDSKBMODE 0x4B45
88 #define K_METABIT 0x03
89 #define K_ESCPREFIX 0x04
90 #define KDGKBMETA 0x4B62
91 #define KDSKBMETA 0x4B63
93 #define K_SCROLLLOCK 0x01
94 #define K_NUMLOCK 0x02
95 #define K_CAPSLOCK 0x04
96 #define KDGKBLED 0x4B64
97 #define KDSKBLED 0x4B65
104 #define K_NORMTAB 0x00
105 #define K_SHIFTTAB 0x01
106 #define K_ALTTAB 0x02
107 #define K_ALTSHIFTTAB 0x03
109 #define KDGKBENT 0x4B46
110 #define KDSKBENT 0x4B47
116 #define KDGKBSENT 0x4B48
117 #define KDSKBSENT 0x4B49
126 #define KDGKBDIACR 0x4B4A
127 #define KDSKBDIACR 0x4B4B
136 #define KDGKBDIACRUC 0x4BFA
137 #define KDSKBDIACRUC 0x4BFB
142 #define KDGETKEYCODE 0x4B4C
143 #define KDSETKEYCODE 0x4B4D
145 #define KDSIGACCEPT 0x4B4E
153 #define KDKBDREP 0x4B52
156 #define KDFONTOP 0x4B72
172 #define KD_FONT_OP_SET 0
173 #define KD_FONT_OP_GET 1
174 #define KD_FONT_OP_SET_DEFAULT 2
175 #define KD_FONT_OP_COPY 3
177 #define KD_FONT_FLAG_DONT_RECALC 1