All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
CBootMemAlloc Class Reference

#include <bootmemalloc.h>

Collaboration diagram for CBootMemAlloc:
Collaboration graph

Classes

struct  TEntry
 

Public Types

enum  EGlobal { MAX_ENTRIES = 32, MAX_NAME_LENGTH = 100 }
 

Public Member Functions

 CBootMemAlloc ()
 
void Add (const char *pcName, uint32_t ulSize)
 
void * Alloc (const char *pcMemoryName)
 
void * GetMemoryPointer (const char *pcName)
 

Static Public Member Functions

static int Free (const char *pcMemoryName)
 

Detailed Description

Definition at line 13 of file bootmemalloc.h.

Member Enumeration Documentation

Enumerator
MAX_ENTRIES 
MAX_NAME_LENGTH 

Definition at line 18 of file bootmemalloc.h.

Constructor & Destructor Documentation

CBootMemAlloc::CBootMemAlloc ( )
inline

Definition at line 31 of file bootmemalloc.h.

Member Function Documentation

void CBootMemAlloc::Add ( const char pcName,
uint32_t  ulSize 
)
inline

Definition at line 41 of file bootmemalloc.h.

void* CBootMemAlloc::Alloc ( const char pcMemoryName)
inline

Definition at line 68 of file bootmemalloc.h.

static int CBootMemAlloc::Free ( const char pcMemoryName)
inlinestatic

Definition at line 123 of file bootmemalloc.h.

void* CBootMemAlloc::GetMemoryPointer ( const char pcName)
inline

Definition at line 128 of file bootmemalloc.h.


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