NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
This class defines the legacy call interface to sigma0 services. More...
#include <sigma0.h>
Classes | |
struct | PutsRequest |
Public Types | |
enum | { REQUEST_STDIN_ATTACH = 0x1001, REQUEST_DISKS_ATTACH, REQUEST_NETWORK_ATTACH, REQUEST_DISK, REQUEST_CONSOLE, REQUEST_HOSTOP, REQUEST_NETWORK, REQUEST_PCICFG, REQUEST_ACPI } |
Static Public Member Functions | |
static unsigned | request_stdin (Utcb *utcb, StdinConsumer *consumer, unsigned sem_nq) |
static unsigned | request_disks_attach (Utcb *utcb, DiskConsumer *consumer, unsigned sem_nq) |
static unsigned | request_network_attach (Utcb *utcb, NetworkConsumer *consumer, unsigned sem_nq) |
static unsigned | disk (MessageDisk &msg) |
static unsigned | console (MessageConsole &msg) |
static unsigned | hostop (MessageHostOp &msg) |
static unsigned | network (MessageNetwork &msg) |
static unsigned | pcicfg (MessagePciConfig &msg) |
static unsigned | acpi (MessageAcpi &msg) |
Static Public Member Functions inherited from BaseProgram | |
static Utcb * | myutcb (unsigned long esp=0) |
Get the UTCB pointer from the top of the stack, which is laid out as follows: | |
static phy_cpu_no | mycpu () |
Return my CPU number. | |
static void | revoke_all_mem (void *address, unsigned long size, unsigned rights, bool myself) |
Revoke all memory for a given virtual region. | |
static Crd | request_mapping (char *start, unsigned long size, unsigned long hotspot) |
Request the mapping for a memory area. |
Static Protected Member Functions | |
static unsigned | request_portal () |
template<unsigned OP> | |
static unsigned | request_attach (Utcb *utcb, void *consumer, unsigned sem_nq) |
Creates a producer in Sigma0 and attaches it to a consumer in the calling PD. | |
template<class MESSAGE , unsigned OP> | |
static unsigned | sigma0_message (MESSAGE &msg) |
Additional Inherited Members | |
Static Public Attributes inherited from BaseProgram | |
static const unsigned | stack_size_shift = 12 |
static const unsigned | stack_size = (1U << stack_size_shift) |
This class defines the legacy call interface to sigma0 services.
anonymous enum |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprotected |
Creates a producer in Sigma0 and attaches it to a consumer in the calling PD.
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprotected |
|
inlinestatic |
|
inlinestaticprotected |