index 9d4fd29ef08c46343edc022aa4ce01166d6076e7..b10e8be9421e4a9a2061da72008a88a3eb8b4aed 100644 (file)
0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
*/
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
-/* This doesn't work:
- Cache.MAR160_191 = 0xFFFFFFFC;
- So, need to do this:
-*/
-/* TBD: Update for Kepler: */
-Cache.setMarMeta(0xA0000000, 0x1FFFFFF, 0);
+/* Mark external memory used by kernel as uncached so that IPC vring CMA
+ * region can operate properly when exchanging messages between DSP and ARM.
+ * K2K Kernel reserves 0x80000000 - 0xA0000000 */
+Cache.setMarMeta(0x80000000, 0x20FFFFFF, 0xC);
Program.global.sysMinBufSize = 0x8000;
SysMin.bufSize = Program.global.sysMinBufSize;