Changes between Version 30 and Version 31 of library_stdio
- Timestamp:
- Nov 9, 2014, 1:10:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v30 v31 51 51 52 52 === void '''giet_tty_alloc'''() === 53 This function allocates a private terminal to the calling task, and registers the terminal index in the task context. Task exit if no TTY terminal available. 53 This function allocates a private terminal to the calling task, and registers the terminal index in the task context. 54 Task exit if no TTY terminal available. 54 55 55 56 === void '''giet_tty_printf'''( char* format, ... ) === … … 87 88 88 89 === void '''giet_timer_alloc'''() 89 This function allocates a private user timer to the calling task, and registers the channel index 90 in the task context. 90 This function allocates a private user timer to the calling task, and registers the channel index in the task context. 91 91 Task exit if no timer channel available 92 92 … … 120 120 == __6) Network related system calls__ == 121 121 122 The GIET_VM allows a user task to directly access a private NIC channel .122 The GIET_VM allows a user task to directly access a private NIC channel, and register the channel index in the task context. 123 123 124 124 === void '''giet_nic_alloc'''( ) === 125 This function allocates a private NIC channel to the calling task, and returns the channel index.125 This function allocates a private NIC channel to the calling task, and . 126 126 Exit if no available NIC channel. 127 127 128 === void '''giet_nic_sync_send'''( void* buffer ) === 129 This blocking function requires to transfer one container (4K bytes) from an user space buffer to the Ethernet Network Controller. 128 === void '''giet_nic_send_container'''( void* buffer ) === 129 This blocking function requires to transfer one container (4K bytes) from an user space buffer to the Network Controller. 130 * '''buffer''' is the container base address in user space. 130 131 It returns only when the container has been fully transfered. 131 The '''buffer''' argument is the container base address in user space.132 The calling task exit if no NIC channel allocated to the task. 132 133 133 === void '''giet_nic_sync_receive'''( void* buffer ) === 134 This blocking function requires to transfer one container (4K bytes) from the Ethernet Network Controller to an user space buffer. 134 === void '''giet_nic_sync_receive_container'''( void* buffer ) === 135 This blocking function requires to transfer one container (4K bytes) from the Network Controller to an user space buffer. 136 * '''buffer''' is the container base address in user space. 135 137 It returns only when the container has been fully transfered. 136 The '''buffer''' argument is the container base address in user space.138 The calling task exit if no NIC channel allocated to the task. 137 139 138 140 == __7) Frame Buffer related system calls__ ==