devtbl.h

来自「完整的Bell实验室的嵌入式文件系统TFS」· C头文件 代码 · 共 25 行

H
25
字号
/* Device names used as their device number or descriptor:    NOTE: These entries should start at zero and increment by    1 for each new device.*/#define TTY0        0   /* UARTA internal to the 405 processor */#define TTY1        1   /* UARTB internal to the 405 processor *//* Defined number of devices in the system:   NOTE: This number should match the number of entries in the device    table (devices.c).*/#define DEVTOT      2/* Declarations for the driver functions for each device: *//* Device TTY0: */extern  int tty0init(unsigned long);extern  int tty0ctrl(int, unsigned long, unsigned long);extern  int tty0write(char *,int);extern  int tty0read(char *,int);extern  int tty1init(unsigned long);extern  int tty1ctrl(int, unsigned long, unsigned long);extern  int tty1write(char *,int);extern  int tty1read(char *,int);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?