?? devtbl.c
字號:
#include "devices.h"#include "devtbl.h"/* device table: This table should contain all of the device driver functions (cntrl/open/close/read/write) for each device in the system. This allows all devices to be accessed through read/write/ioctl functions; thus, making the application code somewhat independent of the underlying hardware. This scheme is taken from XINU.*/struct device devtbl[] = { { tty0init, tty0ctrl, nodriver, nodriver, /* TTY0 */ tty0read, tty0write, "PPC403_UARTA" }, { tty1init, tty1ctrl, nodriver, nodriver, /* TTY1 */ tty1read, tty1write, "PPC403_UARTB" }, { 0,0,0,0,0,0,(char *)0 }};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -