L4Re Operating System Framework
Interface and Usage Documentation
|
Interface for pending requests. More...
#include <request.h>
Inherited by Block_device::Virtio_client< DEV >::Generic_pending_request.
Public Member Functions | |
virtual int | handle_request ()=0 |
Callback used when the request is ready for processing. | |
virtual void | fail_request ()=0 |
Callback used when a request is dropped from the queue. | |
|
pure virtual |
Callback used when a request is dropped from the queue.
The function is called for notification only. The request will be destroyed.
|
pure virtual |
Callback used when the request is ready for processing.
L4_EOK | Request successfully issued. The callee has taken ownership of the request. |
-L4_EBUSY | Device is still busy. The callee must not requeue the request as it will remain in the queue. |
< | 0 Other fatal error. The caller may dispose of the request. |