consoleio.h
来自「RTEMS (Real-Time Executive for Multiproc」· C头文件 代码 · 共 43 行
H
43 行
/* * consoleIo.h -- console I/O package interface * * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr * * The license and distribution terms for this file may be * found in found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id: consoleIo.h,v 1.3.4.2 2003/09/04 18:45:20 joel Exp $ */#ifndef __CONSOLE_IO_H#define __CONSOLE_IO_Htypedef enum { CONSOLE_LOG = 1, CONSOLE_SERIAL = 2, CONSOLE_VGA = 3, CONSOLE_VACUUM = 4}ioType;typedef volatile unsigned char * __io_ptr;typedef struct { __io_ptr io_base; __io_ptr isa_mem_base;} board_memory_map;extern board_memory_map *ptr_mem_map;extern int select_console(ioType t);/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */extern void debug_putc(const unsigned char c);extern void debug_putc_onlcr(const char c);extern int debug_getc(void);extern int debug_tstc(void);int kbdreset(void);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?