TTY之struct consw
来源:互联网 发布:js自定义弹出框 编辑:程序博客网 时间:2024/06/04 18:38
/** * struct consw - callbacks for consoles * * @con_set_palette: sets the palette of the console to @table (optional) * @con_scrolldelta: the contents of the console should be scrolled by @lines. * Invoked by user. (optional) */struct consw { struct module *owner; const char *(*con_startup)(void); void (*con_init)(struct vc_data *, int); void (*con_deinit)(struct vc_data *); void (*con_clear)(struct vc_data *, int, int, int, int); void (*con_putc)(struct vc_data *, int, int, int); void (*con_putcs)(struct vc_data *, const unsigned short *, int, int, int); void (*con_cursor)(struct vc_data *, int); int (*con_scroll)(struct vc_data *, int, int, int, int); int (*con_switch)(struct vc_data *); int (*con_blank)(struct vc_data *, int, int); int (*con_font_set)(struct vc_data *, struct console_font *, unsigned); int (*con_font_get)(struct vc_data *, struct console_font *); int (*con_font_default)(struct vc_data *, struct console_font *, char *); int (*con_font_copy)(struct vc_data *, int); int (*con_resize)(struct vc_data *, unsigned int, unsigned int, unsigned int); void (*con_set_palette)(struct vc_data *, const unsigned char *table); void (*con_scrolldelta)(struct vc_data *, int lines); int (*con_set_origin)(struct vc_data *); void (*con_save_screen)(struct vc_data *); u8 (*con_build_attr)(struct vc_data *, u8, u8, u8, u8, u8, u8); void (*con_invert_region)(struct vc_data *, u16 *, int); u16 *(*con_screen_pos)(struct vc_data *, int); unsigned long (*con_getxy)(struct vc_data *, unsigned long, int *, int *); /* * Prepare the console for the debugger. This includes, but is not * limited to, unblanking the console, loading an appropriate * palette, and allowing debugger generated output. */ int (*con_debug_enter)(struct vc_data *); /* * Restore the console to its pre-debug state as closely as possible. */ int (*con_debug_leave)(struct vc_data *);};
0 0
- TTY之struct consw
- TTY之struct tty_buffer
- TTY之struct tty_ldisc
- TTY之struct console
- linux 0.11之tty
- linux之终端tty
- TTY之register_console
- linux tty 之分层结构
- 串口tty驱动之初始化
- TTY
- tty
- tty
- tty
- TTY
- tty
- tty
- TTY
- TTY
- 排序之冒泡排序(数组)
- 关于Windows主机的性能监控
- Java7:Fork-Join框架
- linux下动态库的使用
- C语言和Lua交互(一)
- TTY之struct consw
- cocos-Lua中的class与require机制(小积累)
- 公牛和母牛竞猜游戏《c++程序设计原理与实践》第5章习题12,13
- etcd 安装部署及常见使用场景
- TTY之struct console
- 【C/C++开发】值得学习的C语言开源项目
- 多线程简介
- JavaScript 发送短信案例
- Html5本地存储