FreeNOS
Data Structures
Allocator.h File Reference
#include <Macros.h>
#include <Types.h>

Go to the source code of this file.

Data Structures

class  Allocator
 Memory Allocator. More...
 
struct  Allocator::Range
 Describes a range of memory. More...
 

Functions

Dynamic memory allocation.
void * operator new (__SIZE_TYPE__ sz)
 Allocate new memory. More...
 
void * operator new[] (__SIZE_TYPE__ sz)
 Allocate memory for an array. More...
 
void operator delete (void *mem)
 Free memory back to the current Allocator. More...
 
void operator delete[] (void *mem)
 Uses the Heap class to free memory, with the delete[] operator. More...
 
void * operator new (__SIZE_TYPE__ sz, Address addr)
 Let the new() operator return the given memory address. More...