interface ti.syslink.ipc.rtos.interfaces.ISyslinkMemMgr
XDCspec summary sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
interface ISyslinkMemMgr {  ...
// inherits xdc.runtime.IModule
instance:  ...
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
 
interface ISyslinkMemMgr {
module-wide constants & types
    const UInt8 MAX_NAME_LENGTH//  = 32;
    const UInt8 MAX_TILER_BLOCKS//  = 10;
 
    enum AddrType//  {
        AddrType_Virtual,
        AddrType_Portable,
        AddrType_EndValue
    };
 
    enum Type//  {
        TYPE_SHAREDMEM,
        TYPE_TILERMEM,
        TYPE_NONE
    };
 
    struct AllocBlock//  {
        UInt16 pixelFormat;
        union {
            struct {
                UInt16 width;
                UInt16 height;
            } area;
            UInt16 len;
        } dim;
        UInt32 stride;
    };
 
    struct allocParams//  {
        UInt32 size;
        UInt32 align;
        UInt32 tilerBlocks;
    };
 
    struct createParams//  {
        UInt32 size;
        ISyslinkMemMgr.Type type;
        UInt8 name[ISyslinkMemMgr.MAX_NAME_LENGTH];
    };
 
    struct freeParams//  {
        Ptr ptr;
        UInt32 size;
    };
module-wide config parameters
 
 
instance:
per-instance config parameters
    config IHeap.Handle heapHandle//  = null;
per-instance functions
    Ptr alloc// (Ptr allocParams);
    Int32 free// (Ptr freeParams);
    Ptr translate// (Ptr srcAddr, ISyslinkMemMgr.AddrType srcAddrType, ISyslinkMemMgr.AddrType desAddrType);
}
 
const ISyslinkMemMgr.MAX_NAME_LENGTH
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
const UInt8 MAX_NAME_LENGTH = 32;
 
 
const ISyslinkMemMgr.MAX_TILER_BLOCKS
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
const UInt8 MAX_TILER_BLOCKS = 10;
 
 
enum ISyslinkMemMgr.AddrType
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
enum AddrType {
    AddrType_Virtual,
    AddrType_Portable,
    AddrType_EndValue
};
 
 
enum ISyslinkMemMgr.Type
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
enum Type {
    TYPE_SHAREDMEM,
    TYPE_TILERMEM,
    TYPE_NONE
};
 
 
struct ISyslinkMemMgr.AllocBlock
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
struct AllocBlock {
    UInt16 pixelFormat;
    union {
        struct {
            UInt16 width;
            UInt16 height;
        } area;
        UInt16 len;
    } dim;
    UInt32 stride;
};
 
 
struct ISyslinkMemMgr.allocParams
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
struct allocParams {
    UInt32 size;
    UInt32 align;
    UInt32 tilerBlocks;
};
 
 
struct ISyslinkMemMgr.createParams
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
struct createParams {
    UInt32 size;
    ISyslinkMemMgr.Type type;
    UInt8 name[ISyslinkMemMgr.MAX_NAME_LENGTH];
};
 
 
struct ISyslinkMemMgr.freeParams
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
struct freeParams {
    Ptr ptr;
    UInt32 size;
};
 
 
metaonly config ISyslinkMemMgr.common$  // module-wide

Common module configuration parameters

XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
metaonly config Types.Common$ common$;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
 
config ISyslinkMemMgr.heapHandle  // instance
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
config IHeap.Handle heapHandle = null;
 
 
ISyslinkMemMgr.alloc()  // instance
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
Ptr alloc(Ptr allocParams);
 
 
ISyslinkMemMgr.free()  // instance
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
Int32 free(Ptr freeParams);
 
 
ISyslinkMemMgr.translate()  // instance
XDCspec declarations sourced in ti/syslink/ipc/rtos/interfaces/ISyslinkMemMgr.xdc
Ptr translate(Ptr srcAddr, ISyslinkMemMgr.AddrType srcAddrType, ISyslinkMemMgr.AddrType desAddrType);
 
generated on Fri, 02 Dec 2011 14:44:28 GMT