DSM-CC dynamic memory manager API. More...
#include "techtype.h"
Go to the source code of this file.
Typedefs | |
typedef U32BIT * | MemHandle |
typedef U8BIT * | MemSeqRef |
Enumerations | |
enum | E_DsmMemErr { MEM_NO_ERR, MEM_ERR_CACHE_FULL, MEM_ERR_ALLOC_FAILED, MEM_ERR_SEQ_OPEN_LIMIT, MEM_ERR_SEQ_END_OF_DATA } |
Functions | |
E_DsmMemErr | memStart (U16BIT memBlockSizeMin, U32BIT memHeapSizeMin, U16BIT memSeqOpenMin, void *memSetup, void **memContext) |
E_DsmMemErr | memStop (void *context) |
E_DsmMemErr | memAlloc (void *context, pclDsmSetup_t setup, U32BIT size, MemHandle *memArea, int line) |
U32BIT | memRelease (void *context, pclDsmSetup_t setup, MemHandle memArea) |
BOOLEAN | memValidate (void *memArea) |
void | memOpen (void *context, MemHandle memArea, void **memPtr) |
U32BIT | memNumOpen (void *context) |
E_DsmMemErr | memSeqOpen (void *context, MemHandle memArea, U32BIT offset, U32BIT length, BOOLEAN asyncAccess, MemSeqRef *memAreaRef) |
E_DsmMemErr | memSeqOpenClone (MemSeqRef memAreaRefOrig, MemSeqRef *memAreaRefClone) |
void | memSeqClose (MemSeqRef memAreaRef) |
void | memSeqAccessContig (MemSeqRef memAreaRef, U8BIT **memPtr, U32BIT *numContigBytes) |
void | memSeqAccessCurrent (MemSeqRef memAreaRef, U8BIT **memPtr, U32BIT *numContigBytes) |
U32BIT | memSeqNumOpen (void *context) |
void | memSeqValidate (MemSeqRef memAreaRef, BOOLEAN *valid) |
void | memSeqSize (MemSeqRef memAreaRef, U32BIT *size) |
E_DsmMemErr | memSeqReadByte (MemSeqRef src, U8BIT *byte) |
E_DsmMemErr | memSeqWriteByte (U8BIT byte, MemSeqRef dest) |
E_DsmMemErr | memSeqRead (MemSeqRef src, U8BIT *dest, U32BIT numBytes, U32BIT *numBytesActual) |
E_DsmMemErr | memSeqWrite (U8BIT *src, MemSeqRef dest, U32BIT numBytes, U32BIT *numBytesActual) |
E_DsmMemErr | memSeqCopy (MemSeqRef src, MemSeqRef dest, U32BIT numBytes, U32BIT *numBytesActual) |
E_DsmMemErr | memSeqCompContig (U8BIT *contig, MemSeqRef memAreaRef, U32BIT numBytes, BOOLEAN *equal) |
E_DsmMemErr | memSeqCompMgd (MemSeqRef memAreaRef1, MemSeqRef memAreaRef2, U32BIT numBytes, BOOLEAN *equal) |
E_DsmMemErr | memSeqSetPosRel (MemSeqRef memAreaRef, S32BIT position) |
E_DsmMemErr | memSeqSetPosAbs (MemSeqRef memAreaRef, U32BIT position) |
void | memSeqReadPos (MemSeqRef memAreaRef, U32BIT *position) |
DSM-CC dynamic memory manager API.