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