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