NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EventService Class Reference

#include <events.h>

Inheritance diagram for EventService:
CapAllocatorAtomicPartition< 1<< CONST_CAP_RANGE > CapAllocatorAtomic< BITS >

Classes

struct  ClientData

Public Member Functions

 EventService (Remcon *_server, bool verbose)
unsigned alloc_cap (unsigned num=1, unsigned cpu=~0U)
void dealloc_cap (unsigned cap, unsigned count=1)
unsigned alloc_crd ()
unsigned portal_func (Utcb &utcb, Utcb::Frame &input, bool &free_cap, cap_sel pid)
template<class C >
bool start_service (Utcb *utcb, Hip *hip, C *c)
- Public Member Functions inherited from CapAllocatorAtomicPartition< 1<< CONST_CAP_RANGE >
 CapAllocatorAtomicPartition (cap_sel _cap_start=~0UL, unsigned divider=1)
- Public Member Functions inherited from CapAllocatorAtomic< BITS >
 CapAllocatorAtomic (cap_sel _cap_start=~0UL)
unsigned idx_max () const
unsigned bytes_max () const
cap_sel idx_smallest ()
cap_sel alloc_cap (unsigned count=1)

Static Public Member Functions

static void portal_pf (EventService *tls, Utcb *utcb) __attribute__((regparm(0)))

Private Member Functions

 ALIGNED (8) ClientDataStorage< ClientData
void check_clients (Utcb &utcb)

Private Attributes

EventService _storage
bool enable_verbose
char * flag_revoke
Remconserver

Additional Inherited Members

- Protected Types inherited from CapAllocatorAtomic< BITS >
enum  { BITS_PER_CHAR = 8, BITS_PER_UNSIGNED = sizeof(unsigned)*8, BYTES_PER_UNSIGNED = sizeof(unsigned) }
- Protected Member Functions inherited from CapAllocatorAtomic< BITS >
cap_sel internal_alloc_cap (unsigned count=1, unsigned byte_start=0)
- Protected Attributes inherited from CapAllocatorAtomicPartition< 1<< CONST_CAP_RANGE >
unsigned _divider

Constructor & Destructor Documentation

EventService::EventService ( Remcon _server,
bool  verbose 
)
inline

Member Function Documentation

EventService::ALIGNED ( )
private
unsigned EventService::alloc_cap ( unsigned  num = 1,
unsigned  cpu = ~0U 
)
inline
unsigned EventService::alloc_crd ( )
inline
void EventService::check_clients ( Utcb utcb)
private
void EventService::dealloc_cap ( unsigned  cap,
unsigned  count = 1 
)
inline

Reimplemented from CapAllocatorAtomic< BITS >.

unsigned EventService::portal_func ( Utcb utcb,
Utcb::Frame input,
bool &  free_cap,
cap_sel  pid 
)
void NORETURN EventService::portal_pf ( EventService tls,
Utcb utcb 
)
static
template<class C >
bool EventService::start_service ( Utcb utcb,
Hip hip,
C *  c 
)
inline

Member Data Documentation

EventService EventService::_storage
private
bool EventService::enable_verbose
private
char* EventService::flag_revoke
private
Remcon* EventService::server
private

The documentation for this class was generated from the following files: