[keystone-rtos/edma3_lld.git] / examples / edma3_driver / evmOMAPL138_ARM / rtsc_config / edma3_drv_bios6_arm_omapl138_st_sample.cfg
diff --git a/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg b/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg
index 7c1afd94b6e3feb0d38f9e1954a98b30ddfa1ead..9f5165d499beb9301a05796673ed303fb9d571b1 100644 (file)
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Cache = xdc.useModule('ti.sysbios.hal.Cache');
+var Mmu = xdc.useModule('ti.sysbios.family.arm.arm9.Mmu');
+// Enable the MMU
+Mmu.enableMMU = true;
-/* USE EDMA3 Sample App */
-//xdc.loadPackage('ti.sdo.edma3.drv.sample');
+var attrs = {
+ type: Mmu.FirstLevelDesc_SECTION, // SECTION descriptor
+ bufferable: true, // bufferable
+ cacheable: false, // cacheable
+ imp: 1, // implementation defined
+ domain: 0, // domain between 0-15
+ accPerm: 3, // read/write permission
+ };
for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) {
Mmu.setFirstLevelDescMeta(i, i, attrs);
- }
\ No newline at end of file
+ }