NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
Classes | |
struct | Session |
Public Member Functions | |
VirtualNetService () | |
NORETURN void | run (Utcb *utcb, Hip *hip) |
Protected Member Functions | |
BaseSession * | new_session () |
unsigned | client_func (unsigned pt_id, Session *session, Utcb *utcb) |
Protected Member Functions inherited from ServiceProgram | |
virtual cap_sel | alloc_cap () |
virtual void | dealloc_cap (cap_sel c) |
cap_sel | create_ec (phy_cpu_no cpu, Utcb **utcb_out) |
ServiceProgram (const char *console_name="service") | |
Protected Member Functions inherited from BaseService | |
void | garbace_collect (per_cpu &local) |
virtual void | close_session (per_cpu &local, BaseSession *s) |
Protected Member Functions inherited from NovaProgram | |
Utcb * | alloc_utcb () |
Alloc a region of virtual memory to put an EC into. | |
template<class C > | |
__attribute__ ((nonnull(6))) unsigned create_ec_helper(C *tls | |
Create an EC and setup the stack. | |
void | init_mem (Hip *hip) |
Init the memory map from the HIP as we get them from sigma0. | |
void | __attribute__ ((noreturn)) block_forever() |
Block ourself. | |
Protected Member Functions inherited from ProgramConsole | |
void | console_init (const char *name, Semaphore *sem) |
Static Protected Member Functions | |
static unsigned | client_func_s (unsigned pt_id, Session *s, VirtualNetService *tls, Utcb *utcb) REGPARM(2) |
Protected Attributes | |
ReceiveBufferDescriptor | _rb [MAXCLIENTS] |
Static Protected Attributes | |
static const unsigned | MAXCLIENTS = 1024 |
static const unsigned | BUFFER_SIZE = 1024*128 |
Additional Inherited Members | |
Static Public Member Functions inherited from NovaProgram | |
static void | exit (const char *msg) |
Default exit function. | |
Public Attributes inherited from CapAllocator | |
unsigned long | _cap_ |
unsigned long | _cap_start |
unsigned long | _cap_order |
Static Public Attributes inherited from BaseProgram | |
static const unsigned | stack_size_shift = 12 |
static const unsigned | stack_size = (1U << stack_size_shift) |
|
inline |
|
inlineprotected |
|
inlinestaticprotected |
|
inlineprotectedvirtual |
Implements BaseService.
|
protected |
|
staticprotected |
|
staticprotected |