NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DiskClient Struct Reference
Inheritance diagram for DiskClient:
PerCpuIdClientData BaseClientData

Public Types

enum  { MAXDISKS = 32 }

Public Member Functions

Diskdisk (unsigned num)
 static_assert ((DiskProtocol::MAXDISKREQUESTS &(DiskProtocol::MAXDISKREQUESTS-1))==0,"MAXDISKREQUESTS should be a power of two")
- Public Member Functions inherited from PerCpuIdClientData
void set_identity (cap_sel id)
cap_sel get_identity ()
void set_singleton (cap_sel cap)
cap_sel get_singleton ()
template<class A >
void dealloc_identity (A *obj)
- Public Member Functions inherited from BaseClientData
void session_close (Utcb &utcb)
 Close the session at the parent.

Static Public Member Functions

static void * operator new (size_t s)

Public Attributes

DiskProtocol::DiskProducer prod_disk
cap_sel sem
Diskdisks [MAXDISKS]
unsigned char disk_count
struct {
   unsigned   add_disk:1
perms
struct {
   unsigned char   disk
   unsigned long   usertag
tags [DiskProtocol::MAXDISKREQUESTS]
cap_sel deleg_pt
char * dma_buffer
size_t dma_size

Member Enumeration Documentation

anonymous enum
Enumerator:
MAXDISKS 

Member Function Documentation

Disk* DiskClient::disk ( unsigned  num)
inline
static void* DiskClient::operator new ( size_t  s)
inlinestatic
DiskClient::static_assert ( (DiskProtocol::MAXDISKREQUESTS &(DiskProtocol::MAXDISKREQUESTS-1))  = =0,
"MAXDISKREQUESTS should be a power of two"   
)

Member Data Documentation

unsigned DiskClient::add_disk
cap_sel DiskClient::deleg_pt
unsigned char DiskClient::disk
unsigned char DiskClient::disk_count
Disk* DiskClient::disks[MAXDISKS]
char* DiskClient::dma_buffer
size_t DiskClient::dma_size
struct { ... } DiskClient::perms
DiskProtocol::DiskProducer DiskClient::prod_disk
cap_sel DiskClient::sem
struct { ... } DiskClient::tags[DiskProtocol::MAXDISKREQUESTS]
unsigned long DiskClient::usertag

The documentation for this struct was generated from the following file: