NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
App Class Reference
Inheritance diagram for App:
NovaProgram ProgramConsole NovaProgram ProgramConsole BaseProgram CapAllocator BaseProgram CapAllocator InternalCapAllocator InternalCapAllocator

Public Member Functions

NORETURN int run (Utcb *utcb, Hip *hip)
NORETURN int run (Utcb *utcb, Hip *hip)
- Public Member Functions inherited from NovaProgram
 NovaProgram ()
- Public Member Functions inherited from CapAllocator
 CapAllocator (unsigned long cap_, unsigned long cap_start, unsigned long cap_order)
unsigned alloc_cap (unsigned count=1)
void dealloc_cap (unsigned cap, unsigned count=1)

Private Types

enum  { FREQ = 1000, TIMEOUT = FREQ }
enum  { FREQ = 1000, TIMEOUT = FREQ }

Private Member Functions

void submit_disk ()
void submit_disk (bool read=true)

Private Attributes

unsigned requests
unsigned requests_done
DiskProtocoldisk

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)
- Protected Member Functions inherited from NovaProgram
Utcballoc_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 Attributes inherited from NovaProgram
Hip_hip
unsigned _cap_block
RegionList< 512 > _free_virt
RegionList< 512 > _free_phys
RegionList< 512 > _virt_phys
phy_cpu_no cpunr
phy_cpu_no unsigned excbase
phy_cpu_no unsigned Utcb ** utcb_out
phy_cpu_no unsigned Utcb void * func
phy_cpu_no unsigned Utcb void
unsigned long 
cap = ~0UL
phy_cpu_no unsigned Utcb void
unsigned long bool 
local

Member Enumeration Documentation

anonymous enum
private
Enumerator:
FREQ 
TIMEOUT 
anonymous enum
private
Enumerator:
FREQ 
TIMEOUT 

Member Function Documentation

NORETURN int App::run ( Utcb utcb,
Hip hip 
)
inline
NORETURN int App::run ( Utcb utcb,
Hip hip 
)
inline
void App::submit_disk ( )
inlineprivate
void App::submit_disk ( bool  read = true)
inlineprivate

Member Data Documentation

DiskProtocol* App::disk
private
unsigned App::requests
private
unsigned App::requests_done
private

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