|
ncloader
0.1
|
이 그래프는 이 파일을 직/간접적으로 include 하는 파일들을 보여줍니다.:데이타 구조 | |
| struct | device_op |
매크로 | |
| #define | MAJOR(id) ((id) >> 8) |
| Device 의 종류 더 자세히 ... | |
| #define | MINOR(id) ((id) & 0xFF) |
| Sub device 종류 더 자세히 ... | |
열거형 타입 | |
| enum | DEVICE { DEVICE_VIDEO80x25 = 0x0100, DEVICE_COM1 = 0x0200, DEVICE_COM2 = 0x0201, DEVICE_COM3 = 0x0202, DEVICE_COM4 = 0x0203, DEVICE_FDC = 0x0300 } |
| enum | IOCTL { IOCTL_CMD_GET_INFO = 0x0 } |
함수 | |
| int | device_init (void) |
| 장치 관리자를 초기화한다. 더 자세히 ... | |
| int | device_open (int id) |
| 장치를 연다 더 자세히 ... | |
| int | device_read (int handle, char *buffer, int size) |
| 장치에서 지정된 크기의 데이터를 읽어들인다. 더 자세히 ... | |
| int | device_write (int handle, const char *buffer, int size) |
| 장치에서 지정된 크기의 데이터를 쓴다. 더 자세히 ... | |
| int | device_seek (int handle, int offset, int whence) |
| 지정된 위치로 읽거나 쓸 위치를 이동시킨다. 더 자세히 ... | |
| int | device_ctrl (int handle, int cmd,...) |
| 장치를 제어한다. 더 자세히 ... | |
| int | device_close (int handle) |
| 장치를 닫는다. 더 자세히 ... | |
| int | device_register (int id, struct device_op *ops) |
| 장치를 등록한다. 더 자세히 ... | |
| int | device_unregister (int id) |
| 등록된 장치를 제거한다. 더 자세히 ... | |