⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 process_dsplink_linux_linkcfg.c.orig

📁 Introduce how to Change the DVEVM6446 Memory Map
💻 ORIG
📖 第 1 页 / 共 2 页
字号:
    },    {        "IPS",                 /* NAME           : Name of the Inter-Processor-Signaling component */        (Uint32) 32,           /* MAXIPSEVENTS   : Number of IPS events to be supported */        (Uint32) 1,            /* MEMENTRY       : Memory entry ID (-1 if not needed) */        (Uint32) 47,           /* GPPINTID       : Interrupt no. to used by the IPS on GPP-side. */        (Uint32) 17,           /* DSPINTID       : Interrupt no. to used by the IPS on DSP-side. */        0,                     /* ARGUMENT1      : First IPS-specific argument */        0                      /* ARGUMENT2      : Second IPS-specific argument */    }} ;/** ============================================================================ *  @name   LINKCFG_ipsTables * *  @desc   Array of IPS tables in the system. *  ============================================================================ */STATIC CONST LINKCFG_Ips * LINKCFG_ipsTables [] ={    LINKCFG_ipsTable_00        /* IPS Table 0 */} ;/** ============================================================================ *  @name   LINKCFG_poolTable_00 * *  @desc   Pool table ID 0. *  ============================================================================ */STATIC CONST LINKCFG_Pool  LINKCFG_poolTable_00 [] ={    {        "SMAPOOL",             /* NAME           : Name of the pool */        (Uint32) 1,            /* MEMENTRY       : Memory entry ID (-1 if not needed) */        (Uint32) 0x70000,      /* POOLSIZE       : Size of the pool (-1 if not needed) */        (Uint32) -1,           /* IPSID          : ID of the IPS used */        (Uint32) -1,           /* IPSEVENTNO     : IPS Event number associated with POOL */        0x0,                   /* ARGUMENT1      : First Pool-specific argument */        0x0                    /* ARGUMENT2      : Second Pool-specific argument */    }} ;/** ============================================================================ *  @name   LINKCFG_poolTables * *  @desc   Array of Pool tables in the system. *  ============================================================================ */STATIC CONST LINKCFG_Pool * LINKCFG_poolTables [] ={    LINKCFG_poolTable_00       /* Pool Table 0 */} ;/** ============================================================================ *  @name   LINKCFG_dataTable_00 * *  @desc   Data driver table ID 0. *  ============================================================================ */STATIC CONST LINKCFG_DataDrv  LINKCFG_dataTable_00 [] ={    {        "ZCPYDATA",            /* NAME           : Name of the data driver */        0,                     /* BASECHANNELID  : Base channel ID for the driver */        16,                    /* NUMCHANNELS    : Number of channels supported */        16384,                 /* MAXBUFSIZE     : Maximum size of buffer supported (-1 if no limit) */        (Uint32) 1,            /* MEMENTRY       : Memory entry ID (-1 if not needed) */        0,                     /* POOLID         : Pool id for allocating buffers */        1,                     /* QUEUELENGTH    : Queue length for the data driver */        1,                     /* IPSID          : ID of the IPS used */        1,                     /* IPSEVENTNO     : IPS Event number associated with data Driver */        0x0,                   /* ARGUMENT1      : First data driver specific argument */        0x0                    /* ARGUMENT2      : Second data driver specific argument */    }} ;/** ============================================================================ *  @name   LINKCFG_dataTables * *  @desc   Array of Data driver tables in the system. *  ============================================================================ */STATIC CONST LINKCFG_DataDrv * LINKCFG_dataTables [] ={    LINKCFG_dataTable_00       /* Data Table 0 */} ;/** ============================================================================ *  @name   LINKCFG_mqtObjects * *  @desc   Array of Message Queue Transport objects in the system. *  ============================================================================ */STATIC CONST LINKCFG_Mqt  LINKCFG_mqtObjects [] ={    {        "ZCPYMQT",             /* NAME           : Name of the Message Queue Transport */        (Uint32) 1,            /* MEMENTRY       : Memory entry ID (-1 if not needed) */        (Uint32) -1,           /* MAXMSGSIZE     : Maximum message size supported (-1 if no limit) */        1,                     /* IPSID          : ID of the IPS used */        0,                     /* IPSEVENTNO     : IPS Event number associated with MQT */        0x0,                   /* ARGUMENT1      : First MQT-specific argument */        0x0                    /* ARGUMENT2      : Second MQT-specific argument */    }} ;/** ============================================================================ *  @name   LINKCFG_ringIoObjects * *  @desc   Array of RINGIO objects in the system. *  ============================================================================ */STATIC CONST LINKCFG_RingIo  LINKCFG_ringIoObjects [] ={    {        "RINGIOTABLE",         /* NAME           : Name of the RingIO Table */        0,                     /* MEMENTRY       : Memory entry ID (-1 if not needed) */        64,                    /* NUMENTRIES     : Number of RingIO entries supported */        0,                     /* IPSID          : ID of the IPS used */        0                      /* IPSEVENTNO     : IPS Event number associated with RingIO */    }} ;/** ============================================================================ *  @name   LINKCFG_mplistObjects * *  @desc   Array of MPLIST objects in the system. *  ============================================================================ */STATIC CONST LINKCFG_MpList  LINKCFG_mplistObjects [] ={    {        "MPLISTTABLE",         /* NAME           : Name of the MpList Table */        1,                     /* MEMENTRY       : Memory entry ID (-1 if not needed) */        64,                    /* NUMENTRIES     : Number of MpList entries supported */        (Uint32) -1,           /* IPSID          : ID of the IPS used */        (Uint32) -1            /* IPSEVENTNO     : IPS Event number associated with MpList */    }} ;/** ============================================================================ *  @name   LINKCFG_mpcsObjects * *  @desc   Array of MPCS objects in the system. *  ============================================================================ */STATIC CONST LINKCFG_Mpcs  LINKCFG_mpcsObjects [] ={    {        "MPCS",                /* NAME           : Name of the MPCS Table */        1,                     /* MEMENTRY       : Memory entry ID (-1 if not needed) */        256,                   /* NUMENTRIES     : Number of MPCS entries supported */        (Uint32) -1,           /* IPSID          : ID of the IPS used */        (Uint32) -1            /* IPSEVENTNO     : IPS Event number associated with MPCS */    }} ;/** ============================================================================ *  @name   LINKCFG_gppObject * *  @desc   Configuration object for the GPP. *  ============================================================================ */STATIC CONST LINKCFG_Log  LINKCFG_logObject = {    FALSE,             /* GDMSGQPUT         : GPP->DSP MSG Transfer  - MSGQ_put call */    FALSE,             /* GDMSGQSENDINT     : GPP->DSP MSG Transfer  - GPP sends interrupt */    FALSE,             /* GDMSGQISR         : GPP->DSP MSG Transfer  - DSP receives interrupt */    FALSE,             /* GDMSGQQUE         : GPP->DSP MSG Transfer  - Message queued at DSP */    FALSE,             /* DGMSGQPUT         : DSP->GPP MSG Transfer  - MSGQ_put call */    FALSE,             /* DGMSGQSENDINT     : DSP->GPP MSG Transfer  - DSP sends interrupt */    FALSE,             /* DGMSGQISR         : DSP->GPP MSG Transfer  - GPP receives interrupt */    FALSE,             /* DGMSGQQUE         : DSP->GPP MSG Transfer  - Message queued at GPP */    FALSE,             /* GDCHNLISSUESTART  : GPP->DSP CHNL Transfer - Entering inside ISSUE call */    FALSE,             /* GDCHNLISSUEQUE    : GPP->DSP CHNL Transfer - ISSUE: Buffer is queued in internal structure on GPP */    FALSE,             /* GDCHNLISSUECOMPL  : GPP->DSP CHNL Transfer - ISSUE call completed */    FALSE,             /* GDCHNLXFERSTART   : GPP->DSP CHNL Transfer - Initiating a buffer transfer by GPP */    FALSE,             /* GDCHNLXFERPROCESS : GPP->DSP CHNL Transfer - Actual transfer of buffer is going to take place */    FALSE,             /* GDCHNLXFERCOMPL   : GPP->DSP CHNL Transfer - Buffer transfer is complete */    FALSE,             /* GDCHNLRECLSTART   : GPP->DSP CHNL Transfer - Entering RECLAIM call */    FALSE,             /* GDCHNLRECLPEND    : GPP->DSP CHNL Transfer - RECLAIM: Wait on a semaphore */    FALSE,             /* GDCHNLRECLPOST    : GPP->DSP CHNL Transfer - RECLAIM: Posting the Semaphore */    FALSE,             /* GDCHNLRECLCOMPL   : GPP->DSP CHNL Transfer - RECLAIM call completed */    FALSE,             /* DGCHNLISSUEQUE    : DSP->GPP CHNL Transfer - ISSUE: Buffer is queued in internal structure on DSP */    FALSE,             /* DGCHNLXFERSTART   : DSP->GPP CHNL Transfer - Initiating a buffer transfer by DSP */    FALSE,             /* DGCHNLXFERPROCESS : DSP->GPP CHNL Transfer - Actual transfer of buffer is going to take place */    FALSE,             /* DGCHNLXFERCOMPL   : DSP->GPP CHNL Transfer - Buffer transfer is complete */    FALSE,             /* DGCHNLRECLPEND    : DSP->GPP CHNL Transfer - RECLAIM: Wait on a semaphore */    FALSE,             /* DGCHNLRECLPOST    : DSP->GPP CHNL Transfer - RECLAIM: Posting the Semaphore */    10,                /* MSGIDRANGESTART   : MSG ID range: lower limit */    20                 /* MSGIDRANGEEND     : MSG ID range: upper limit */} ;/** ============================================================================ *  @name   LINKCFG_config * *  @desc   DSP/BIOS LINK configuration structure. *  ============================================================================ */CONST LINKCFG_Object  LINKCFG_config = {    (LINKCFG_Gpp *)       &LINKCFG_gppObject,     /* GPPOBJECT      : GPP object */    1,                                            /* NUMDSPS        : Number of DSPs in the system */    (LINKCFG_Dsp *)       LINKCFG_dspObjects,     /* DSPOBJECTS     : Array of DSP objects */    (LINKCFG_LinkDrv *)   LINKCFG_linkDrvObjects, /* LINKDRVOBJECTS : Array of Link Driver objects */    1,                                            /* NUMMEMTABLES   : Number of memory tables */    (LINKCFG_MemEntry **) LINKCFG_memTables,      /* MEMTABLES      : Array of Memory tables */    1,                                            /* NUMIPSTABLES   : Number of IPS tables */    (LINKCFG_Ips **)      LINKCFG_ipsTables,      /* IPSTABLES      : Array of IPS tables */    1,                                            /* NUMPOOLTABLES  : Number of POOL tables */    (LINKCFG_Pool **)     LINKCFG_poolTables,     /* POOLTABLES     : Array of Pool tables */    1,                                            /* NUMDATATABLES  : Number of data tables */    (LINKCFG_DataDrv **)  LINKCFG_dataTables,     /* DATATABLES     : Array of data tables */    1,                                            /* NUMMQTS        : Number of MQTs */    (LINKCFG_Mqt *)       LINKCFG_mqtObjects,     /* MQTOBJECTS     : Array of MQT objects */    1,                                            /* NUMRINGIOTABLES: Number of RINGIO tables */    (LINKCFG_RingIo *)    LINKCFG_ringIoObjects,  /* RINGIOOBJECTS  : Array of RINGIO objects */    1,                                            /* NUMMPLISTTABLES: Number of MPLIST tables */    (LINKCFG_MpList *)    LINKCFG_mplistObjects,  /* MPLISTOBJECTS  : Array of MPLIST objects */    1,                                            /* NUMMPCSTABLES  : Number of MPCS tables */    (LINKCFG_Mpcs *)      LINKCFG_mpcsObjects,    /* MPCSOBJECTS    : Array of MPCS objects */    (LINKCFG_Log *)       &LINKCFG_logObject      /* LOGOBJECT      : Pointer to LOG object */} ;#if defined (__cplusplus)}#endif /* defined (__cplusplus) */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -