metaonly module ti.sdo.ce.ipc.linux.Ipc

Configuration for noOS ipc

XDCspec summary sourced in ti/sdo/ce/ipc/linux/Ipc.xdc
metaonly module Ipc {  ...
// inherits ti.sdo.ce.ipc.IIpc
XDCscript usage meta-domain
var Ipc = xdc.useModule('ti.sdo.ce.ipc.linux.Ipc');
module-wide constants & types
        const Ipc.BootAndLoadDsp;
        const Ipc.BootDspAutonomously;
        const Ipc.None;
 
        obj.memTable = IIpc.ArmDspLinkConfigMemTableEntry[string]  ...
        obj.doPowerControl = Bool  ...
        obj.dspManagement = IIpc.DspManagement  ...
 
        obj.addr = UInt32  ...
        obj.gppAddr = UInt32  ...
        obj.size = UInt32  ...
        obj.type = String  ...
 
XDCspec declarations sourced in ti/sdo/ce/ipc/linux/Ipc.xdc
 
metaonly module Ipc inherits IIpc {
module-wide constants & types
        BootAndLoadDsp,
        BootDspAutonomously,
        None
    };
 
        IIpc.ArmDspLinkConfigMemTableEntry memTable[string];
        Bool doPowerControl;
        IIpc.DspManagement dspManagement;
    };
 
        UInt32 addr;
        UInt32 gppAddr;
        UInt32 size;
        String type;
    };
}
 
enum Ipc.DspManagement

Value for controlling DSP from ARM w/ DspLink

XDCscript usage meta-domain
values of type Ipc.DspManagement
    const Ipc.BootAndLoadDsp;
    const Ipc.BootDspAutonomously;
    const Ipc.None;
 
VALUES
BootAndLoadDsp — DspLink boots DSP and loads executable
BootDspAutonomously — DspLink boots DSP w/o loading executable
None — DspLink neither boots DSP nor loads executable
 
struct Ipc.ArmDspLinkConfig

Configuration for the DspLink on the Arm side

XDCscript usage meta-domain
var obj = new Ipc.ArmDspLinkConfig;
 
    obj.memTable = IIpc.ArmDspLinkConfigMemTableEntry[string]  ...
    obj.doPowerControl = Bool  ...
    obj.dspManagement = IIpc.DspManagement  ...
 
FIELDS
memTable — Memory table, describing all DSP segments. NOTE: segments "DDR2" (or whatever is the name of the main segment), "DSPLINKMEM", and "RESETCTRL" must be present
doPowerControl — Flag indicating if Link should implement power control of DSP.
dspManagement — Flag indicating how Link should boot/load DSP
DETAILS
Of the many fields that Link exposes for configuration, selected ones are exposed through this interface.
 
struct Ipc.ArmDspLinkConfigMemTableEntry

Description of one DSP memory segment entry

XDCscript usage meta-domain
var obj = new Ipc.ArmDspLinkConfigMemTableEntry;
 
    obj.addr = UInt32  ...
    obj.gppAddr = UInt32  ...
    obj.size = UInt32  ...
    obj.type = String  ...
 
FIELDS
addr — The beginning address of the segment
gppAddr — The GPP physical address of the segment (when needed)
size — Size of the segment in bytes
type — One of the following types: "main" -- main code/data segment (i.e. DDR2) "link" -- DSPLINKMEM segment "reset" -- RESETCTRL segment "poolmem" -- POOLMEM segment "code" -- dsp code/data, must map into GPP space "other" -- anything else
generated on Mon, 20 Sep 2010 23:50:20 GMT