Changeset 237 for soft/giet_vm/libs/stdio.c
- Timestamp:
- May 2, 2013, 6:38:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/libs/stdio.c
r232 r237 35 35 #define SYSCALL_IOC_READ 0x16 36 36 #define SYSCALL_IOC_COMPLETED 0x17 37 #define SYSCALL_IOC_BLOCK_SIZE 0x18 37 38 #define SYSCALL_VOBJ_GET_VBASE 0x1A 38 39 #define SYSCALL_NIC_WRITE 0x1B … … 548 549 549 550 551 ////////////////////////////////////////////////////////////////////////////////// 552 // giet_ioc_block_size() 553 ////////////////////////////////////////////////////////////////////////////////// 554 // This blocking function returns the block_size (in bytes) of the block device 555 ////////////////////////////////////////////////////////////////////////////////// 556 unsigned int giet_ioc_block_size() { 557 return sys_call(SYSCALL_IOC_BLOCK_SIZE, 0, 0, 0, 0); 558 } 559 560 550 561 ///// Frame buffer device related system calls ///// 551 562
Note: See TracChangeset
for help on using the changeset viewer.