X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Facess%2Fdevices%2Fterminal.h;fp=Usermode%2Finclude%2Facess%2Fdevices%2Fterminal.h;h=2fc460bd456dc3d89ee1824aa87e000250a28be9;hb=a4ce2e60f783c9e71447edc03f20f937b8abf35a;hp=473271ca110db53f3a40aeabba666713942b7cb0;hpb=505307eb2af0ae6a06a45677db27074a7d3f476c;p=tpg%2Facess2.git diff --git a/Usermode/include/acess/devices/terminal.h b/Usermode/include/acess/devices/terminal.h index 473271ca..2fc460bd 100644 --- a/Usermode/include/acess/devices/terminal.h +++ b/Usermode/include/acess/devices/terminal.h @@ -4,6 +4,7 @@ #ifndef _SYS_DEVICES_TERMINAL_H #define _SYS_DEVICES_TERMINAL_H +#include enum eDrv_Terminal { TERM_IOCTL_MODETYPE = 4, @@ -15,15 +16,12 @@ enum eDrv_Terminal { struct sTerm_IOCtl_Mode { - short ID; //!< Zero Based index of mode - short DriverID; //!< Driver's ID number (from ::tVideo_IOCtl_Mode) - Uint16 Height; //!< Height - Uint16 Width; //!< Width - Uint8 Depth; //!< Bits per cell - struct { - unsigned bText: 1; //!< Text Mode marker - unsigned unused: 7; - }; + int16_t ID; //!< Zero Based index of mode + int16_t DriverID; //!< Driver's ID number (from ::tVideo_IOCtl_Mode) + uint16_t Height; //!< Height + uint16_t Width; //!< Width + uint8_t Depth; //!< Bits per cell + uint8_t Flags; //!< Flags (1: Text Mode) }; /**