1
2; IOCTLs defined for the generic console driver
3
4defc IOCTL_GENCON_RAW_MODE     = 1  ; Set raw terminal mode (int *)
5defc IOCTL_GENCON_CONSOLE_SIZE = 2  ; Get console size (int *) = (d<<8|w)
6defc IOCTL_GENCON_SET_FONT32   = 3  ; Set the 32 column font (int *)
7defc IOCTL_GENCON_SET_FONT64   = 4  ; Set the 64 column font (int *)
8defc IOCTL_GENCON_SET_UDGS     = 5  ; Set the 32 columns udgs (int *)
9defc IOCTL_GENCON_SET_MODE     = 6  ; Set the mode (int *)
10defc IOCTL_GENCON_GET_CAPS     = 7  ; Get the capabilities (int *)
11
12; Capabilities for gencon
13defc CAP_GENCON_CUSTOM_FONT = 1
14defc CAP_GENCON_UDGS        = 2
15defc CAP_GENCON_FG_COLOUR   = 4
16defc CAP_GENCON_BG_COLOUR   = 8
17defc CAP_GENCON_INVERSE     = 16
18defc CAP_GENCON_BOLD        = 32
19defc CAP_GENCON_UNDERLINE   = 64
20