RTEMS CPU Kit with SuperCore
4.11.3
|
The block device transfer request is used to read or write a number of blocks from or to the device. More...
#include <blkdev.h>
Data Fields | |
rtems_blkdev_request_op | req |
Block device operation (read or write). | |
rtems_blkdev_request_cb | done |
Request done callback function. | |
void * | done_arg |
Argument to be passed to callback function. | |
rtems_status_code | status |
Last IO operation completion status. | |
uint32_t | bufnum |
Number of blocks for this request. | |
rtems_id | io_task |
The task requesting the IO operation. | |
rtems_blkdev_sg_buffer | bufs [RTEMS_ZERO_LENGTH_ARRAY] |
List of scatter or gather buffers. | |
The block device transfer request is used to read or write a number of blocks from or to the device.
Transfer requests are issued to the disk device driver with the RTEMS_BLKIO_REQUEST IO control. The transfer request completion status must be signalled with rtems_blkdev_request_done(). This function must be called exactly once per request. The return value of the IO control will be ignored for transfer requests.