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

Allocates capabilities from a certain range. More...

#include <capalloc.h>

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

Public Member Functions

unsigned alloc_cap (unsigned count=1)
void dealloc_cap (unsigned cap, unsigned count=1)

Detailed Description

Allocates capabilities from a certain range.

The range is given by _cap_start and _cap_order parameters.

Note: allocator and deallocator required which handle concurrency threads well XXX

Member Function Documentation

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

Reimplemented in ab::AdmissionService, and CapAllocator.


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