Client part of the disk protocol. More...
#include <service_disk.h>
Public Types | |
enum | { TYPE_GET_PARAMS = ParentProtocol::TYPE_GENERIC_END, TYPE_READ, TYPE_WRITE, TYPE_FLUSH_CACHE, TYPE_GET_COMPLETION } |
Public Member Functions | |
unsigned | get_params (Utcb &utcb, DiskParameter *params) |
unsigned | read_write (Utcb &utcb, bool read, unsigned long usertag, unsigned long long sector, unsigned long physoffset, unsigned long physsize, unsigned dmacount, DmaDescriptor *dma) |
unsigned | flush_cache (Utcb &utcb) |
unsigned | get_completion (Utcb &utcb, unsigned &tag, unsigned &status) |
DiscProtocol (unsigned cap_base, unsigned disknr) |
Client part of the disk protocol.
Missing: register shared memory producer/consumer.
anonymous enum |
DiscProtocol::DiscProtocol | ( | unsigned | cap_base, | |
unsigned | disknr | |||
) | [inline] |
unsigned DiscProtocol::flush_cache | ( | Utcb & | utcb | ) | [inline] |
unsigned DiscProtocol::get_completion | ( | Utcb & | utcb, | |
unsigned & | tag, | |||
unsigned & | status | |||
) | [inline] |
unsigned DiscProtocol::get_params | ( | Utcb & | utcb, | |
DiskParameter * | params | |||
) | [inline] |
unsigned DiscProtocol::read_write | ( | Utcb & | utcb, | |
bool | read, | |||
unsigned long | usertag, | |||
unsigned long long | sector, | |||
unsigned long | physoffset, | |||
unsigned long | physsize, | |||
unsigned | dmacount, | |||
DmaDescriptor * | dma | |||
) | [inline] |