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

#include <capalloc.h>

Inheritance diagram for CapAllocator:
InternalCapAllocator DiskService Gt NovaProgram PerCpuTimerService Remcon s0_ParentProtocol Service_config Tracebuffer

Public Member Functions

 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)

Public Attributes

unsigned long _cap_
unsigned long _cap_start
unsigned long _cap_order

Constructor & Destructor Documentation

CapAllocator::CapAllocator ( unsigned long  cap_,
unsigned long  cap_start,
unsigned long  cap_order 
)
inline

Member Function Documentation

unsigned CapAllocator::alloc_cap ( unsigned  count = 1)
inline
void CapAllocator::dealloc_cap ( unsigned  cap,
unsigned  count = 1 
)
inline

Reimplemented from InternalCapAllocator.

Reimplemented in ab::AdmissionService.

Member Data Documentation

unsigned long CapAllocator::_cap_
unsigned long CapAllocator::_cap_order
unsigned long CapAllocator::_cap_start

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