|
NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
#include <capalloc_partition.h>
Public Member Functions | |
| CapAllocatorAtomicPartition (cap_sel _cap_start=~0UL, unsigned divider=1) | |
| cap_sel | alloc_cap (unsigned count=1, unsigned cpu=~0U) |
Public Member Functions inherited from CapAllocatorAtomic< BITS > | |
| CapAllocatorAtomic (cap_sel _cap_start=~0UL) | |
| unsigned | idx_max () const |
| unsigned | bytes_max () const |
| cap_sel | idx_smallest () |
| cap_sel | alloc_cap (unsigned count=1) |
| void | dealloc_cap (cap_sel cap, unsigned count=1) |
Protected Attributes | |
| unsigned | _divider |
Protected Attributes inherited from CapAllocatorAtomic< BITS > | |
| unsigned volatile | _bits [(BITS+BITS_PER_UNSIGNED-1)/BITS_PER_UNSIGNED] |
| cap_sel | _cap_base |
Additional Inherited Members | |
Protected Types inherited from CapAllocatorAtomic< BITS > | |
| enum | { BITS_PER_CHAR = 8, BITS_PER_UNSIGNED = sizeof(unsigned)*8, BYTES_PER_UNSIGNED = sizeof(unsigned) } |
Protected Member Functions inherited from CapAllocatorAtomic< BITS > | |
| cap_sel | internal_alloc_cap (unsigned count=1, unsigned byte_start=0) |
|
inline |
|
inline |
Reimplemented in ab::AdmissionService, and EventService.
|
protected |