1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33
34 /*!
35 * ======== Ipc ========
36 * BIOS ipc settings.
37 */
38 @Template("./Ipc.xdt")
39
40 metaonly module Ipc inherits ti.sdo.ce.ipc.IIpc {
41 /*!
42 * ======== armCommMsgSize ========
43 * Default size for the Arm-DSP communication messages (MSGQ messages).
44 *
45 * Applies only to configurations where DSP Link is used.
46 */
47 config UInt32 armCommMsgSize = 4 * 1024;
48
49 /*!
50 * ======== dspConfigureMsgqAndPool ========
51 * Set to true by default, instructs this module to generate code that
52 * configures BIOS MSGQ and POOL modules: symbols MSGQ_config and
53 * POOL_config. If set to false, and if BIOS is configured to use MSGQ,
54 * user application must define these symbols.
55 */
56 config bool dspConfigureMsgqAndPool = true;
57
58 /*!
59 * ======== dspUseMsgqAndPool ========
60 * If set to false, instructs Codecs Engine to cut out MSGQ and POOL
61 * references completely from the final image.
62 *
63 * Must be set to true if DSP Link is used.
64 */
65 config bool dspUseMsgqAndPool = true;
66
67 /*!
68 * ======== dspCommNumMsgQueues ========
69 * Number of message queues (that can receive and store messages) on the
70 * DSP side. Each DSP node (task) needs one message queue.
71 *
72 * Applies only to configurations where runtimeEnv == DSPBIOS or
73 * runtimeEnv == DSPLINK_BIOS
74 */
75 config UInt32 dspCommNumMsgQueues = 64;
76
77 /*!
78 * ======== dspCommUseExactMatch ========
79 * Indicates that "exact match" must be used for comm messages allocated
80 * on the DSP side.
81 *
82 * Applies only to configurations where DSP Link is used.
83 */
84 config Bool dspCommUseExactMatch = true;
85
86 /*!
87 * ======== dspCommMsgSize ========
88 * Default size for the inter-DSP communication messages (MSGQ messages).
89 *
90 * Applies only to configurations where DSP Link is not used, in special
91 * circumstances.
92 * @_nodoc
93 */
94 config UInt32 dspCommMsgSize = 1024;
95
96 /*!
97 * ======== dspCommNumMsgs ========
98 * Number of <commMsgSize>-sized messages used for Arm-DSP communication.
99 *
100 * Applies only to configurations where DSP Link is not used, in special
101 * circumstances.
102 * @_nodoc
103 */
104 config UInt32 dspCommNumMsgs = 64;
105
106 /*!
107 * ======== usePowerManagement ========
108 * Enable power Management
109 *
110 * If set to true, will attempt to include power-management code
111 * where applicable.
112 *
113 * This feature may not be available on all devices.
114 */
115 config bool usePowerManagement = false;
116
117 /*!
118 * ======== powerSaveMemoryBlockName ========
119 * Memory segment name for context save/restore.
120 *
121 * The name of the segment to which power should be saved; if left null,
122 * will default to defaultMemSegId.
123 *
124 * This feature may not be available on all devices.
125 */
126 config String powerSaveMemoryBlockName = null;
127
128 /*!
129 * ======== debug ========
130 * Enable the debug profile
131 *
132 * Now obsolete. Leave here for awhile until users update.
133 * @_nodoc
134 */
135 config Bool debug = false;
136
137 /*!
138 * ======== dspLinkUsed ========
139 * Returns true if the executable should be built with DSP Link
140 *
141 * @_nodoc
142 */
143 bool dspLinkUsed();
144
145 }
146 147 148 149
150