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