Phoenix
Object-oriented orthogonally persistent operating system
Public Member Functions
BuddyAllocator< AddrType > Class Template Reference

Universal buddy allocator. More...

#include <BuddyAllocator.h>

Inheritance diagram for BuddyAllocator< AddrType >:
Collaboration diagram for BuddyAllocator< AddrType >:

List of all members.

Public Member Functions

RetCode Initialize (AddrType startAddress, AddrType endAddress, int minOrder=0, int maxOrder=-1, size_t cacheSize=8192)

Detailed Description

template<class AddrType>
class BuddyAllocator< AddrType >

Universal buddy allocator.

Parameters:
AddrTypeType of the address with which the allocator operates.

Member Function Documentation

template<class AddrType >
RetCode BuddyAllocator< AddrType >::Initialize ( AddrType  startAddress,
AddrType  endAddress,
int  minOrder = 0,
int  maxOrder = -1,
size_t  cacheSize = 8192 
) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines