Changes between Version 8 and Version 9 of ioc_device_api
- Timestamp:
- Jan 21, 2020, 12:32:24 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ioc_device_api
v8 v9 80 80 - '''IOC_SYNC_READ''' : move blocks from the hardware device to a kernel buffer, without descheduling. 81 81 82 For asynchronous operations the ''ioc_driver_cmd()'' function is called by the server thread. It must block and deschedule after launching the I/O transfer. The I/O operation status is reported in the command by the ISR, and the server thread is re-activated by the ISR. 82 83 83 These four commands use the three following arguments, that must be registered, with the command type, in 84 For synchronous operations, the ''ioc_driver_cmd()'' function is called by the client thread. It mask the IOC IRQ, poll the BDV status register until I/O transfer completion, and report status in the command.