00001 00005 #ifndef _TPL_TERMINAL_H 00006 #define _TPL_TERMINAL_H 00007 00008 #include <tpl_drv_common.h> 00009 00014 enum eTplTerminal_IOCtl { 00024 TERM_IOCTL_MODETYPE = 4, 00025 00035 TERM_IOCTL_WIDTH, 00036 00046 TERM_IOCTL_HEIGHT, 00047 00062 TERM_IOCTL_QUERYMODE, 00063 00068 TERM_IOCTL_FORCESHOW 00069 }; 00070 00075 typedef struct sTerm_IOCtl_Mode 00076 { 00077 short ID; 00078 short DriverID; 00079 Uint16 Height; 00080 Uint16 Width; 00081 Uint8 Depth; 00082 struct { 00083 unsigned bText: 1; 00084 unsigned unused: 7; 00085 }; 00086 } tTerm_IOCtl_Mode; 00087 00091 enum eTplTerminal_Modes { 00097 TERM_MODE_TEXT, 00098 00104 TERM_MODE_FB, 00105 00111 TERM_MODE_2DACCEL, 00112 00119 TERM_MODE_3D, 00120 00124 NUM_TERM_MODES 00125 }; 00126 00133 enum eTplTerminal_2D_Commands 00134 { 00138 TERM_2DCMD_NOP, 00139 00147 TERM_2DCMD_PUSH 00148 }; 00149 00150 #endif