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 36 37
38
39 /*!
40 * ======== Ipc ========
41 * BIOS ipc settings.
42 */
43 @Template("./Ipc.xdt")
44
45 metaonly module Ipc inherits ti.sdo.ce.ipc.IIpc {
46 /*!
47 * ======== armCommMsgSize ========
48 * Default size for the Arm-DSP communication messages (MSGQ messages).
49 *
50 * Applies only to configurations where DSP Link is used.
51 */
52 config UInt32 armCommMsgSize = 4 * 1024;
53
54
55 config UInt32 hostCommNumMsgs = 64;
56
57 58 59 60 61 62 63 64 65 66
67
68
69 /*!
70 * ======== dspCommMsgSize ========
71 * Default size for the inter-DSP communication messages (MSGQ messages).
72 *
73 * Applies only to configurations where DSP Link is not used, in special
74 * circumstances.
75 *
76 * @_nodoc
77 */
78 config UInt32 dspCommMsgSize = 1024;
79
80 /*!
81 * ======== dspCommNumMsgs ========
82 * Number of <commMsgSize>-sized messages used for Arm-DSP communication.
83 *
84 * Applies only to configurations where DSP Link is not used, in special
85 * circumstances.
86 *
87 * @_nodoc
88 */
89 config UInt32 dspCommNumMsgs = 64;
90
91 /*!
92 * ======== usePowerManagement ========
93 * Enable power Management
94 *
95 * If set to true, will attempt to include power-management code
96 * where applicable.
97 *
98 * This feature may not be available on all devices.
99 *
100 * @_nodoc
101 */
102 config bool usePowerManagement = false;
103
104 /*!
105 * ======== powerSaveMemoryBlockName ========
106 * Memory segment name for context save/restore.
107 *
108 * The name of the segment to which power should be saved; if left null,
109 * will default to defaultMemSegId.
110 *
111 * This feature may not be available on all devices.
112 *
113 * @_nodoc
114 */
115 config String powerSaveMemoryBlockName = null;
116
117 /*!
118 * ======== manageIpc ========
119 * Ipc calls will be built into the app.
120 *
121 * If set to true, calls to Ipc_attach(), Ipc_detach(), etc, will be
122 * auto-generated. If false, the app must manage these calls.
123 *
124 * @_nodoc
125 */
126 config bool manageIpc = true;
127
128 /*!
129 * ======== dspLinkUsed ========
130 * Returns true if the executable should be built with DSP Link
131 *
132 * @_nodoc
133 */
134 bool dspLinkUsed();
135
136 /*!
137 * ======== messageqUsed ========
138 * Returns true if ti.sdo.ipc.MessageQ is used
139 *
140 * @_nodoc
141 */
142 bool messageqUsed();
143 }
144 145 146 147
148