Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
kd.h File Reference
#include <linux/types.h>
#include <linux/compiler.h>

Go to the source code of this file.

Data Structures

struct  consolefontdesc
 
struct  unipair
 
struct  unimapdesc
 
struct  unimapinit
 
struct  kbentry
 
struct  kbsentry
 
struct  kbdiacr
 
struct  kbdiacrs
 
struct  kbdiacruc
 
struct  kbdiacrsuc
 
struct  kbkeycode
 
struct  kbd_repeat
 
struct  console_font_op
 
struct  console_font
 

Macros

#define GIO_FONT   0x4B60 /* gets font in expanded form */
 
#define PIO_FONT   0x4B61 /* use font in expanded form */
 
#define GIO_FONTX   0x4B6B /* get font using struct consolefontdesc */
 
#define PIO_FONTX   0x4B6C /* set font using struct consolefontdesc */
 
#define PIO_FONTRESET   0x4B6D /* reset to default font */
 
#define GIO_CMAP   0x4B70 /* gets colour palette on VGA+ */
 
#define PIO_CMAP   0x4B71 /* sets colour palette on VGA+ */
 
#define KIOCSOUND   0x4B2F /* start sound generation (0 for off) */
 
#define KDMKTONE   0x4B30 /* generate tone */
 
#define KDGETLED   0x4B31 /* return current led state */
 
#define KDSETLED   0x4B32 /* set led state [lights, not flags] */
 
#define LED_SCR   0x01 /* scroll lock led */
 
#define LED_NUM   0x02 /* num lock led */
 
#define LED_CAP   0x04 /* caps lock led */
 
#define KDGKBTYPE   0x4B33 /* get keyboard type */
 
#define KB_84   0x01
 
#define KB_101   0x02 /* this is what we always answer */
 
#define KB_OTHER   0x03
 
#define KDADDIO   0x4B34 /* add i/o port as valid */
 
#define KDDELIO   0x4B35 /* del i/o port as valid */
 
#define KDENABIO   0x4B36 /* enable i/o to video board */
 
#define KDDISABIO   0x4B37 /* disable i/o to video board */
 
#define KDSETMODE   0x4B3A /* set text/graphics mode */
 
#define KD_TEXT   0x00
 
#define KD_GRAPHICS   0x01
 
#define KD_TEXT0   0x02 /* obsolete */
 
#define KD_TEXT1   0x03 /* obsolete */
 
#define KDGETMODE   0x4B3B /* get current mode */
 
#define KDMAPDISP   0x4B3C /* map display into address space */
 
#define KDUNMAPDISP   0x4B3D /* unmap display from address space */
 
#define E_TABSZ   256
 
#define GIO_SCRNMAP   0x4B40 /* get screen mapping from kernel */
 
#define PIO_SCRNMAP   0x4B41 /* put screen mapping table in kernel */
 
#define GIO_UNISCRNMAP   0x4B69 /* get full Unicode screen mapping */
 
#define PIO_UNISCRNMAP   0x4B6A /* set full Unicode screen mapping */
 
#define GIO_UNIMAP   0x4B66 /* get unicode-to-font mapping from kernel */
 
#define PIO_UNIMAP   0x4B67 /* put unicode-to-font mapping in kernel */
 
#define PIO_UNIMAPCLR   0x4B68 /* clear table, possibly advise hash algorithm */
 
#define UNI_DIRECT_BASE   0xF000 /* start of Direct Font Region */
 
#define UNI_DIRECT_MASK   0x01FF /* Direct Font Region bitmask */
 
#define K_RAW   0x00
 
#define K_XLATE   0x01
 
#define K_MEDIUMRAW   0x02
 
#define K_UNICODE   0x03
 
#define K_OFF   0x04
 
#define KDGKBMODE   0x4B44 /* gets current keyboard mode */
 
#define KDSKBMODE   0x4B45 /* sets current keyboard mode */
 
#define K_METABIT   0x03
 
#define K_ESCPREFIX   0x04
 
#define KDGKBMETA   0x4B62 /* gets meta key handling mode */
 
#define KDSKBMETA   0x4B63 /* sets meta key handling mode */
 
#define K_SCROLLLOCK   0x01
 
#define K_NUMLOCK   0x02
 
#define K_CAPSLOCK   0x04
 
#define KDGKBLED   0x4B64 /* get led flags (not lights) */
 
#define KDSKBLED   0x4B65 /* set led flags (not lights) */
 
#define K_NORMTAB   0x00
 
#define K_SHIFTTAB   0x01
 
#define K_ALTTAB   0x02
 
#define K_ALTSHIFTTAB   0x03
 
#define KDGKBENT   0x4B46 /* gets one entry in translation table */
 
#define KDSKBENT   0x4B47 /* sets one entry in translation table */
 
#define KDGKBSENT   0x4B48 /* gets one function key string entry */
 
#define KDSKBSENT   0x4B49 /* sets one function key string entry */
 
#define KDGKBDIACR   0x4B4A /* read kernel accent table */
 
#define KDSKBDIACR   0x4B4B /* write kernel accent table */
 
#define KDGKBDIACRUC   0x4BFA /* read kernel accent table - UCS */
 
#define KDSKBDIACRUC   0x4BFB /* write kernel accent table - UCS */
 
#define KDGETKEYCODE   0x4B4C /* read kernel keycode table entry */
 
#define KDSETKEYCODE   0x4B4D /* write kernel keycode table entry */
 
#define KDSIGACCEPT   0x4B4E /* accept kbd generated signals */
 
#define KDKBDREP
 
#define KDFONTOP   0x4B72 /* font operations */
 
#define KD_FONT_OP_SET   0 /* Set font */
 
#define KD_FONT_OP_GET   1 /* Get font */
 
#define KD_FONT_OP_SET_DEFAULT   2 /* Set font to default, data points to name / NULL */
 
#define KD_FONT_OP_COPY   3 /* Copy from another console */
 
#define KD_FONT_FLAG_DONT_RECALC   1 /* Don't recalculate hw charcell size [compat] */
 

Typedefs

typedef char scrnmap_t
 

Macro Definition Documentation

#define E_TABSZ   256

Definition at line 54 of file kd.h.

#define GIO_CMAP   0x4B70 /* gets colour palette on VGA+ */

Definition at line 21 of file kd.h.

#define GIO_FONT   0x4B60 /* gets font in expanded form */

Definition at line 8 of file kd.h.

#define GIO_FONTX   0x4B6B /* get font using struct consolefontdesc */

Definition at line 11 of file kd.h.

#define GIO_SCRNMAP   0x4B40 /* get screen mapping from kernel */

Definition at line 55 of file kd.h.

#define GIO_UNIMAP   0x4B66 /* get unicode-to-font mapping from kernel */

Definition at line 60 of file kd.h.

#define GIO_UNISCRNMAP   0x4B69 /* get full Unicode screen mapping */

Definition at line 57 of file kd.h.

#define K_ALTSHIFTTAB   0x03

Definition at line 107 of file kd.h.

#define K_ALTTAB   0x02

Definition at line 106 of file kd.h.

#define K_CAPSLOCK   0x04

Definition at line 95 of file kd.h.

#define K_ESCPREFIX   0x04

Definition at line 89 of file kd.h.

#define K_MEDIUMRAW   0x02

Definition at line 82 of file kd.h.

#define K_METABIT   0x03

Definition at line 88 of file kd.h.

#define K_NORMTAB   0x00

Definition at line 104 of file kd.h.

#define K_NUMLOCK   0x02

Definition at line 94 of file kd.h.

#define K_OFF   0x04

Definition at line 84 of file kd.h.

#define K_RAW   0x00

Definition at line 80 of file kd.h.

#define K_SCROLLLOCK   0x01

Definition at line 93 of file kd.h.

#define K_SHIFTTAB   0x01

Definition at line 105 of file kd.h.

#define K_UNICODE   0x03

Definition at line 83 of file kd.h.

#define K_XLATE   0x01

Definition at line 81 of file kd.h.

#define KB_101   0x02 /* this is what we always answer */

Definition at line 35 of file kd.h.

#define KB_84   0x01

Definition at line 34 of file kd.h.

#define KB_OTHER   0x03

Definition at line 36 of file kd.h.

#define KD_FONT_FLAG_DONT_RECALC   1 /* Don't recalculate hw charcell size [compat] */

Definition at line 176 of file kd.h.

#define KD_FONT_OP_COPY   3 /* Copy from another console */

Definition at line 174 of file kd.h.

#define KD_FONT_OP_GET   1 /* Get font */

Definition at line 172 of file kd.h.

#define KD_FONT_OP_SET   0 /* Set font */

Definition at line 171 of file kd.h.

#define KD_FONT_OP_SET_DEFAULT   2 /* Set font to default, data points to name / NULL */

Definition at line 173 of file kd.h.

#define KD_GRAPHICS   0x01

Definition at line 45 of file kd.h.

#define KD_TEXT   0x00

Definition at line 44 of file kd.h.

#define KD_TEXT0   0x02 /* obsolete */

Definition at line 46 of file kd.h.

#define KD_TEXT1   0x03 /* obsolete */

Definition at line 47 of file kd.h.

#define KDADDIO   0x4B34 /* add i/o port as valid */

Definition at line 38 of file kd.h.

#define KDDELIO   0x4B35 /* del i/o port as valid */

Definition at line 39 of file kd.h.

#define KDDISABIO   0x4B37 /* disable i/o to video board */

Definition at line 41 of file kd.h.

#define KDENABIO   0x4B36 /* enable i/o to video board */

Definition at line 40 of file kd.h.

#define KDFONTOP   0x4B72 /* font operations */

Definition at line 155 of file kd.h.

#define KDGETKEYCODE   0x4B4C /* read kernel keycode table entry */

Definition at line 142 of file kd.h.

#define KDGETLED   0x4B31 /* return current led state */

Definition at line 27 of file kd.h.

#define KDGETMODE   0x4B3B /* get current mode */

Definition at line 48 of file kd.h.

#define KDGKBDIACR   0x4B4A /* read kernel accent table */

Definition at line 126 of file kd.h.

#define KDGKBDIACRUC   0x4BFA /* read kernel accent table - UCS */

Definition at line 136 of file kd.h.

#define KDGKBENT   0x4B46 /* gets one entry in translation table */

Definition at line 109 of file kd.h.

#define KDGKBLED   0x4B64 /* get led flags (not lights) */

Definition at line 96 of file kd.h.

#define KDGKBMETA   0x4B62 /* gets meta key handling mode */

Definition at line 90 of file kd.h.

#define KDGKBMODE   0x4B44 /* gets current keyboard mode */

Definition at line 85 of file kd.h.

#define KDGKBSENT   0x4B48 /* gets one function key string entry */

Definition at line 116 of file kd.h.

#define KDGKBTYPE   0x4B33 /* get keyboard type */

Definition at line 33 of file kd.h.

#define KDKBDREP
Value:
0x4B52 /* set keyboard delay/repeat rate;
* actually used values are returned */

Definition at line 153 of file kd.h.

#define KDMAPDISP   0x4B3C /* map display into address space */

Definition at line 50 of file kd.h.

#define KDMKTONE   0x4B30 /* generate tone */

Definition at line 25 of file kd.h.

#define KDSETKEYCODE   0x4B4D /* write kernel keycode table entry */

Definition at line 143 of file kd.h.

#define KDSETLED   0x4B32 /* set led state [lights, not flags] */

Definition at line 28 of file kd.h.

#define KDSETMODE   0x4B3A /* set text/graphics mode */

Definition at line 43 of file kd.h.

#define KDSIGACCEPT   0x4B4E /* accept kbd generated signals */

Definition at line 145 of file kd.h.

#define KDSKBDIACR   0x4B4B /* write kernel accent table */

Definition at line 127 of file kd.h.

#define KDSKBDIACRUC   0x4BFB /* write kernel accent table - UCS */

Definition at line 137 of file kd.h.

#define KDSKBENT   0x4B47 /* sets one entry in translation table */

Definition at line 110 of file kd.h.

#define KDSKBLED   0x4B65 /* set led flags (not lights) */

Definition at line 97 of file kd.h.

#define KDSKBMETA   0x4B63 /* sets meta key handling mode */

Definition at line 91 of file kd.h.

#define KDSKBMODE   0x4B45 /* sets current keyboard mode */

Definition at line 86 of file kd.h.

#define KDSKBSENT   0x4B49 /* sets one function key string entry */

Definition at line 117 of file kd.h.

#define KDUNMAPDISP   0x4B3D /* unmap display from address space */

Definition at line 51 of file kd.h.

#define KIOCSOUND   0x4B2F /* start sound generation (0 for off) */

Definition at line 24 of file kd.h.

#define LED_CAP   0x04 /* caps lock led */

Definition at line 31 of file kd.h.

#define LED_NUM   0x02 /* num lock led */

Definition at line 30 of file kd.h.

#define LED_SCR   0x01 /* scroll lock led */

Definition at line 29 of file kd.h.

#define PIO_CMAP   0x4B71 /* sets colour palette on VGA+ */

Definition at line 22 of file kd.h.

#define PIO_FONT   0x4B61 /* use font in expanded form */

Definition at line 9 of file kd.h.

#define PIO_FONTRESET   0x4B6D /* reset to default font */

Definition at line 19 of file kd.h.

#define PIO_FONTX   0x4B6C /* set font using struct consolefontdesc */

Definition at line 12 of file kd.h.

#define PIO_SCRNMAP   0x4B41 /* put screen mapping table in kernel */

Definition at line 56 of file kd.h.

#define PIO_UNIMAP   0x4B67 /* put unicode-to-font mapping in kernel */

Definition at line 69 of file kd.h.

#define PIO_UNIMAPCLR   0x4B68 /* clear table, possibly advise hash algorithm */

Definition at line 70 of file kd.h.

#define PIO_UNISCRNMAP   0x4B6A /* set full Unicode screen mapping */

Definition at line 58 of file kd.h.

#define UNI_DIRECT_BASE   0xF000 /* start of Direct Font Region */

Definition at line 77 of file kd.h.

#define UNI_DIRECT_MASK   0x01FF /* Direct Font Region bitmask */

Definition at line 78 of file kd.h.

Typedef Documentation

typedef char scrnmap_t

Definition at line 53 of file kd.h.