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

#include <bootmem.h>

Collaboration diagram for CBootMem:
Collaboration graph

Public Member Functions

void Init (uint32_t ulEntries=256, bool bMulticore=true)
 
void * Alloc (CCoremask *pcCoreMask, const char *pcName, uint64_t uxSize, uint64_t uxAlignment=CVMX_CACHE_LINE_SIZE)
 
void * Alloc (const char *pcName, uint64_t uxSize, uint64_t uxAlignment=CVMX_CACHE_LINE_SIZE)
 
void * Search (const char *pcName)
 
void Print (void)
 
bool Free (const char *pcName)
 
bool Free (void *pMem)
 

Static Public Member Functions

static CBootMemInstance ()
 

Detailed Description

Definition at line 8 of file bootmem.h.

Member Function Documentation

void* CBootMem::Alloc ( CCoremask pcCoreMask,
const char pcName,
uint64_t  uxSize,
uint64_t  uxAlignment = CVMX_CACHE_LINE_SIZE 
)
inline

Definition at line 68 of file bootmem.h.

void* CBootMem::Alloc ( const char pcName,
uint64_t  uxSize,
uint64_t  uxAlignment = CVMX_CACHE_LINE_SIZE 
)
inline

Definition at line 94 of file bootmem.h.

bool CBootMem::Free ( const char pcName)
inline

Definition at line 221 of file bootmem.h.

bool CBootMem::Free ( void *  pMem)
inline

Definition at line 250 of file bootmem.h.

void CBootMem::Init ( uint32_t  ulEntries = 256,
bool  bMulticore = true 
)
inline

Definition at line 23 of file bootmem.h.

static CBootMem* CBootMem::Instance ( void  )
inlinestatic

Definition at line 13 of file bootmem.h.

void CBootMem::Print ( void  )
inline

Definition at line 179 of file bootmem.h.

void* CBootMem::Search ( const char pcName)
inline

Definition at line 150 of file bootmem.h.


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