static VOID halDrvInit (VOID) { /* * standard device driver (rootfs and procfs need install first.) */ rootFsDrv(); /* ROOT device driver */ procFsDrv(); /* proc device driver */ shmDrv(); /* shm device driver */ randDrv(); /* random device driver */ ptyDrv(); /* pty device driver */ ttyDrv(); /* tty device driver */ memDrv(); /* mem device driver */ pipeDrv(); /* pipe device driver */ spipeDrv(); /* spipe device driver */ fatFsDrv(); /* FAT FS device driver */ ramFsDrv(); /* RAM FS device driver */ romFsDrv(); /* ROM FS device driver */ nfsDrv(); /* nfs device driver */ yaffsDrv(); /* yaffs device driver */ canDrv(); /* CAN device driver */ ls1xGpioDrv(); ls1xWatchDogDrv(); ls1xLedDrv(); ads7846Drv(); /* ads7846 触摸屏设备 */ ls1xKeyDrv(); }
/*============================================================================== * - ios_init() * * - init I/O system */ OS_STATUS ios_init () { iosLibInit (); ios_cmd_init (); beepDrv (); yaffsDrv (); return OS_STATUS_OK; }