GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-7
Constituent: pbs     Tag: rad750
#include <stdio.h>
#include <vxWorks.h>
#include <sysLib.h>
#include <memPartLib.h>
#include "PBI/impl/ASM.h.xx-ppc-gcc"
Include dependency graph for MBA.c.vx-ppc-gcc:
Functions | |
static PART_ID | mba_create (const MBA_badBlock *list) |
Creates the memory partition, taking into account a list of bad blocks. | |
static PART_ID | mba_add (PART_ID part_id, unsigned char *beg, unsigned char *end) |
Creates (if part_id is NULL) or adds to the specified memory partition. | |
int | MBA_initialize (MBA_create_cb create, void *prm) |
One time initialization of the MBA facility. | |
void * | MBA_align (unsigned int alignment, unsigned int nBytes) |
Allocates nBytes of aligned memory. | |
void * | MBA_alloc (unsigned int nBytes) |
Allocates nBytes of at least word aligned memory. | |
int | MBA_free (void *pBlock) |
Frees a piece of memory allocated with either MBA_align() or MBA_alloc(). | |
int | MBA_statsGet (MBA_stats *stats) |
Gets the memory stats for the MBA partition. | |
Variables | |
static PART_ID | MemPartId = NULL |
The memory partition id used to allocate user memory requests. |
CVS $Id: MBA.c.vx-ppc-gcc,v 1.5 2005/05/12 19:42:58 russell Exp $
|
Creates (if part_id is NULL) or adds to the specified memory partition.
|
|
Allocates nBytes of aligned memory.
|
|
Allocates nBytes of at least word aligned memory.
|
|
Creates the memory partition, taking into account a list of bad blocks.
|
|
Frees a piece of memory allocated with either MBA_align() or MBA_alloc().
|
|
One time initialization of the MBA facility.
|
|
Gets the memory stats for the MBA partition.
|