2 * \file devices/terminal.h
4 #ifndef _SYS_DEVICES_TERMINAL_H
5 #define _SYS_DEVICES_TERMINAL_H
10 TERM_IOCTL_MODETYPE = 4,
18 struct sTerm_IOCtl_Mode
20 int16_t ID; //!< Zero Based index of mode
21 int16_t DriverID; //!< Driver's ID number (from ::tVideo_IOCtl_Mode)
22 uint16_t Height; //!< Height
23 uint16_t Width; //!< Width
24 uint8_t Depth; //!< Bits per cell
25 uint8_t Flags; //!< Flags (1: Text Mode)
29 * \brief Terminal Modes
31 enum eTplTerminal_Modes {
33 * \brief UTF-8 Text Mode
34 * Any writes to the terminal file are treated as UTF-8 encoded
35 * strings and reads will also return UTF-8 strings.
40 * \brief 32bpp Framebuffer
41 * Writes to the terminal file will write to the framebuffer.
42 * Reads will return UTF-32 characters
48 * Writes to the terminal file will send 3D commands
49 * Reads will return UTF-32 characters
50 * \note May or may not stay in the spec