⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devtbl.c

📁 完整的Bell实验室的嵌入式文件系统TFS
💻 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 }};

⌨️ 快捷键说明

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