Update OMAP5 and SharedMemAllocator carveouts
authorAngela Stegmaier <angelabaker@ti.com>
Tue, 19 Mar 2013 23:16:11 +0000 (18:16 -0500)
committerAngela Stegmaier <angelabaker@ti.com>
Wed, 20 Mar 2013 22:59:16 +0000 (17:59 -0500)
qnx/src/ipc3x_dev/sharedmemallocator/resmgr/SharedMemoryAllocator.c
qnx/src/ipc3x_dev/ti/syslink/family/omap5430/Platform.c

index 6c05e801af61901f7d127c22605873ce94efdb4e..1c7682921d08adcdc7d68591ce827c4242dd5c5d 100644 (file)
@@ -44,8 +44,8 @@
  *
  */
 
-#define SH_MEM_BLOCK1_START 0x9EB00000
-#define SH_MEM_BLOCK1_SIZE  0x1000000
+#define SH_MEM_BLOCK1_START 0xBA300000
+#define SH_MEM_BLOCK1_SIZE  0x5A00000
 
 #define SH_MEM_BLOCK2_START 0x9DB00000
 #define SH_MEM_BLOCK2_SIZE  0x1000000
index 3ff42eb5491606c58c813472def4275bd6bffad0..9af6aa2ee05c8f22815f5db54bce3be440f6156c 100644 (file)
@@ -236,19 +236,15 @@ extern unsigned int syslink_dsp_mem_size;
 
 #define MAX_SIZE_OVERRIDE_PARAMS 500
 
-Char Syslink_Override_Params[MAX_SIZE_OVERRIDE_PARAMS];
-/*
+/*Char Syslink_Override_Params[MAX_SIZE_OVERRIDE_PARAMS];*/
+
 String Syslink_Override_Params = "ProcMgr.proc[CORE0].mmuEnable=TRUE;"
-                                 "ProcMgr.proc[CORE0].carveoutAddr0=0x95800000;"
-                                 "ProcMgr.proc[CORE0].carveoutSize0=0xA400000;"
-                                 "ProcMgr.proc[CORE0].carveoutAddr1=0xBA300000;"
-                                 "ProcMgr.proc[CORE0].carveoutSize1=0x5A00000;"
+                                 "ProcMgr.proc[CORE0].carveoutAddr0=0xBA300000;"
+                                 "ProcMgr.proc[CORE0].carveoutSize0=0x5A00000;"
                                  "ProcMgr.proc[DSP].mmuEnable=TRUE;"
-                                 "ProcMgr.proc[DSP].carveoutAddr0=0x95000000;"
-                                 "ProcMgr.proc[DSP].carveoutSize0=0x700000;"
-                                 "ProcMgr.proc[DSP].carveoutAddr1=0xBA300000;"
-                                 "ProcMgr.proc[DSP].carveoutSize1=0x5A00000";
-*/
+                                 "ProcMgr.proc[DSP].carveoutAddr0=0xBA300000;"
+                                 "ProcMgr.proc[DSP].carveoutSize0=0x5A00000;";
+
 
 /** ============================================================================
  *  APIs.
@@ -318,7 +314,7 @@ Int32
 Platform_overrideConfig (Platform_Config * config, Ipc_Config * cfg)
 {
     Int32  status = Platform_S_SUCCESS;
-    Char   hexString[16];
+    /*Char   hexString[16];*/
 
     GT_1trace (curTrace, GT_ENTER, "Platform_overrideConfig", config);
 
@@ -338,7 +334,7 @@ Platform_overrideConfig (Platform_Config * config, Ipc_Config * cfg)
     }
     else {
 #endif /* if !defined(SYSLINK_BUILD_OPTIMIZE) */
-
+/*
         String_cpy(Syslink_Override_Params,
                    "ProcMgr.proc[CORE0].mmuEnable=TRUE;");
         String_hexToStr(hexString, cfg->pAddr);
@@ -363,6 +359,7 @@ Platform_overrideConfig (Platform_Config * config, Ipc_Config * cfg)
                    "ProcMgr.proc[DSP].carveoutSize0=");
         String_cat(Syslink_Override_Params, hexString);
         String_cat(Syslink_Override_Params, ";");
+*/
         cfg->params = Memory_alloc(NULL,
                                    String_len(Syslink_Override_Params) + 1, 0,
                                    NULL);