const SyslinkMemMgr_MAX_NAME_LENGTH |
 |
#define SyslinkMemMgr_MAX_NAME_LENGTH (UInt8)32
const SyslinkMemMgr_MAX_TILER_BLOCKS |
 |
#define SyslinkMemMgr_MAX_TILER_BLOCKS (UInt8)10
enum SyslinkMemMgr_AddrType |
 |
typedef enum SyslinkMemMgr_AddrType {
SyslinkMemMgr_AddrType_Virtual,
SyslinkMemMgr_AddrType_Portable,
SyslinkMemMgr_AddrType_EndValue
} SyslinkMemMgr_AddrType;
enum SyslinkMemMgr_Type |
 |
typedef enum SyslinkMemMgr_Type {
SyslinkMemMgr_TYPE_SHAREDMEM,
SyslinkMemMgr_TYPE_TILERMEM,
SyslinkMemMgr_TYPE_NONE
} SyslinkMemMgr_Type;
struct SyslinkMemMgr_AllocBlock |
 |
typedef struct SyslinkMemMgr_AllocBlock {
UInt16 pixelFormat;
union {
struct {
UInt16 width;
UInt16 height;
} area;
UInt16 len;
} dim;
UInt32 stride;
} SyslinkMemMgr_AllocBlock;
struct SyslinkMemMgr_allocParams |
 |
typedef struct SyslinkMemMgr_allocParams {
UInt32 size;
UInt32 align;
UInt32 tilerBlocks;
} SyslinkMemMgr_allocParams;
struct SyslinkMemMgr_createParams |
 |
typedef struct SyslinkMemMgr_createParams {
UInt32 size;
} SyslinkMemMgr_createParams;
struct SyslinkMemMgr_freeParams |
 |
typedef struct SyslinkMemMgr_freeParams {
Ptr ptr;
UInt32 size;
} SyslinkMemMgr_freeParams;
config SyslinkMemMgr_A_invalidParams // module-wide |
 |
Assert raised when an invalid parameter(s) is passed into a function
extern const Assert_Id SyslinkMemMgr_A_invalidParams;
Module-Wide Built-Ins |
 |
// Get this module's unique id
Bool SyslinkMemMgr_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool SyslinkMemMgr_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 SyslinkMemMgr_Module_getMask();
// Returns the diagnostics mask for this module
Void SyslinkMemMgr_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
Instance Object Types |
 |
typedef struct SyslinkMemMgr_Object SyslinkMemMgr_Object;
// Opaque internal representation of an instance object
// Client reference to an instance object
typedef struct SyslinkMemMgr_Struct SyslinkMemMgr_Struct;
// Opaque client structure large enough to hold an instance object
// Convert this instance structure pointer into an instance handle
// Convert this instance handle into an instance structure pointer
Instance Config Parameters |
 |
typedef struct SyslinkMemMgr_Params {
// Instance config-params structure
// Common per-instance configs
//
//
String name;
//
UInt32 size;
//
} SyslinkMemMgr_Params;
// Initialize this config-params structure with supplier-specified defaults before instance creation
config SyslinkMemMgr_heapHandle // instance |
 |
config SyslinkMemMgr_memMgrType // instance |
 |
config SyslinkMemMgr_name // instance |
 |
config SyslinkMemMgr_size // instance |
 |
SyslinkMemMgr_alloc() // instance |
 |
ARGUMENTS
handle
handle of a previously-created SyslinkMemMgr instance object
SyslinkMemMgr_free() // instance |
 |
ARGUMENTS
handle
handle of a previously-created SyslinkMemMgr instance object
SyslinkMemMgr_translate() // instance |
 |
ARGUMENTS
handle
handle of a previously-created SyslinkMemMgr instance object
Instance Convertors |
 |
// unconditionally move one level up the inheritance hierarchy
// conditionally move one level down the inheritance hierarchy; NULL upon failure
Instance Built-Ins |
 |
Int SyslinkMemMgr_Object_count();
// The number of statically-created instance objects
// The handle of the i-th statically-created instance object (array == NULL)
// The handle of the first dynamically-created instance object, or NULL
// The handle of the next dynamically-created instance object, or NULL
// The heap used to allocate dynamically-created instance objects
// The label associated with this instance object
// The name of this instance object