summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd276d7)
raw | patch | inline | side by side (parent: dd276d7)
author | John Dowdal <jdowdal@ti.com> | |
Fri, 13 Sep 2013 15:10:32 +0000 (11:10 -0400) | ||
committer | John Dowdal <jdowdal@ti.com> | |
Fri, 13 Sep 2013 15:10:32 +0000 (11:10 -0400) |
test/k2e/c66/bios/rmK2EC66BiosTestProject.txt | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rmMemK2EC66BiosTestProject.txt | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rmSharedK2EC66BiosTestProject.txt | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rm_mem_test.cfg | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rm_shared_osal.c | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rm_shared_test.cfg | [deleted file] | patch | blob | history |
test/k2e/c66/bios/rm_test.cfg | [deleted file] | patch | blob | history |
diff --git a/test/k2e/c66/bios/rmK2EC66BiosTestProject.txt b/test/k2e/c66/bios/rmK2EC66BiosTestProject.txt
+++ /dev/null
@@ -1,10 +0,0 @@
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/src/rm_test.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/global-resources.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/linux-evm.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/server-policy.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/static-policy.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_osal.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_test.cfg"
--ccs.setCompilerOptions "-mv6600 -g -DDEVICE_K2E --diag_warning=225 -I${PDK_INSTALL_PATH}/ti/drv/rm"
--rtsc.enableRtsc
-
diff --git a/test/k2e/c66/bios/rmMemK2EC66BiosTestProject.txt b/test/k2e/c66/bios/rmMemK2EC66BiosTestProject.txt
+++ /dev/null
@@ -1,13 +0,0 @@
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/src/rm_mem_test.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/device/k2e/global-resource-list.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/device/k2e/policy_dsp_arm.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/global-resources.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/server-policy.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/static-policy.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/linux-evm.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/rm_transport_setup.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_osal.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_mem_test.cfg"
--ccs.setCompilerOptions "-mv6600 -g -DDEVICE_K2E --diag_warning=225 -I${PDK_INSTALL_PATH}/ti/drv/rm"
--rtsc.enableRtsc
-
diff --git a/test/k2e/c66/bios/rmSharedK2EC66BiosTestProject.txt b/test/k2e/c66/bios/rmSharedK2EC66BiosTestProject.txt
+++ /dev/null
@@ -1,9 +0,0 @@
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/src/rm_shared_test.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/global-resources.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/linux-evm.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/dts_files/server-policy.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_shared_osal.c"
--ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/test/k2e/c66/bios/rm_shared_test.cfg"
--ccs.setCompilerOptions "-mv6600 -g -DDEVICE_K2E --diag_warning=225 -I${PDK_INSTALL_PATH}/ti/drv/rm"
--rtsc.enableRtsc
-
diff --git a/test/k2e/c66/bios/rm_mem_test.cfg b/test/k2e/c66/bios/rm_mem_test.cfg
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * */
-
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/*
- * Get the list of names that the build device supports.
- * I.e. ["CORE0", "CORE1", "CORE2" ... ]
- */
-var nameList = ["CORE0", "CORE1"];
-
-/*
- * Since this is a single-image example, we don't (at build-time) which
- * processor we're building for. We therefore supply 'null'
- * as the local procName and allow IPC to set the local procId at runtime.
- */
-MultiProc.setConfig(null, nameList);
-
-/*
- * The SysStd System provider is a good one to use for debugging
- * but does not have the best performance. Use xdc.runtime.SysMin
- * for better performance.
- */
-var System = xdc.useModule('xdc.runtime.System');
-var SysStd = xdc.useModule('xdc.runtime.SysStd');
-System.SupportProxy = SysStd;
-
-/* Modules explicitly used in the application */
-var MessageQ = xdc.useModule('ti.sdo.ipc.MessageQ');
-var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
-var HeapBufMP = xdc.useModule('ti.sdo.ipc.heaps.HeapBufMP');
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/* BIOS/XDC modules */
-var BIOS = xdc.useModule('ti.sysbios.BIOS');
-BIOS.heapSize = 0x80000;
-var Task = xdc.useModule('ti.sysbios.knl.Task');
-
-/* Okay for these to be in L2 since it's only read once at startup */
-Program.sectMap[".sharedGRL"] = new Program.SectionSpec();
-Program.sectMap[".sharedGRL"] = "L2SRAM";
-Program.sectMap[".sharedGlobalPolicy"] = new Program.SectionSpec();
-Program.sectMap[".sharedGlobalPolicy"] = "L2SRAM";
-
-Program.sectMap[".sharedPolicy"] = new Program.SectionSpec();
-Program.sectMap[".sharedPolicy"] = "L2SRAM";
-
-Program.sectMap[".rm"] = new Program.SectionSpec();
-Program.sectMap[".rm"] = "MSMCSRAM";
-
-/* Synchronize all processors (this will be done in Ipc_start) */
-Ipc.procSync = Ipc.ProcSync_ALL;
-
-/* Shared Memory base address and length */
-var SHAREDMEM = 0x0C000000;
-var SHAREDMEMSIZE = 0x00100000;
-
-/*
- * Need to define the shared region. The IPC modules use this
- * to make portable pointers. All processors need to add this
- * call with their base address of the shared memory region.
- * If the processor cannot access the memory, do not add it.
- */
-var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
-SharedRegion.translate = false;
-SharedRegion.setEntryMeta(0,
- { base: SHAREDMEM,
- len: SHAREDMEMSIZE,
- ownerProcId: 0,
- isValid: true,
- name: "DDR2 RAM",
- });
-
-/* PDK packages */
-var devType = "k2e"
-var Csl = xdc.useModule('ti.csl.Settings');
-Csl.deviceType = devType;
-var Rm = xdc.loadPackage('ti.drv.rm');
-
-
diff --git a/test/k2e/c66/bios/rm_shared_osal.c b/test/k2e/c66/bios/rm_shared_osal.c
+++ /dev/null
@@ -1,275 +0,0 @@
-/**
- * @file rm_osal.c
- *
- * @brief
- * This is the OS abstraction layer used by the Resource Manager.
- *
- * \par
- * ============================================================================
- * @n (C) Copyright 2012-2013, Texas Instruments, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the
- * distribution.
- *
- * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * \par
-*/
-
-/* Standard Includes */
-#include <stdarg.h>
-
-/* XDC Includes */
-#include <xdc/std.h>
-#include <xdc/runtime/Memory.h>
-#include <xdc/runtime/Error.h>
-#include <xdc/runtime/System.h>
-
-/* BIOS Includes */
-#include <ti/sysbios/BIOS.h>
-#include <ti/sysbios/hal/Hwi.h>
-#include <ti/sysbios/knl/Semaphore.h>
-
-/* IPC includes */
-#include <ti/ipc/SharedRegion.h>
-
-/* CSL includes */
-#include <ti/csl/csl_semAux.h>
-#include <ti/csl/csl_cacheAux.h>
-#include <ti/csl/csl_xmcAux.h>
-
-/* RM Includes */
-#include <ti/drv/rm/rm_osal.h>
-
-/**********************************************************************
- ****************************** Defines *******************************
- **********************************************************************/
-
-/* Try to avoid conflict with GateMP in rm_shared_test.c */
-#define RM_HW_SEM 4
-#define RM_MALLOC_FREE_SEM 5
-
-/**********************************************************************
- ************************** Global Variables **************************
- **********************************************************************/
-/* Put memory tracking variables in MSMCSRAM to track all allocations
- * using the Shared Server. Define the variables so they don't cross
- * any cache line boundaries. */
-#pragma DATA_SECTION (rmMallocCounter, ".rmSharedHandleTest");
-#pragma DATA_ALIGN (rmMallocCounter, 128)
-uint32_t rmMallocCounter[4] = {0,0,0,0};
-#pragma DATA_SECTION (rmFreeCounter, ".rmSharedHandleTest");
-#pragma DATA_ALIGN (rmFreeCounter, 128)
-uint32_t rmFreeCounter[4] = {0,0,0,0};
-
-/**********************************************************************
- *************************** OSAL Functions **************************
- **********************************************************************/
-
-/* FUNCTION PURPOSE: Allocates memory
- ***********************************************************************
- * DESCRIPTION: The function is used to allocate a memory block of the
- * specified size.
- */
-void *Osal_rmMalloc (uint32_t num_bytes)
-{
- Error_Block errorBlock;
-
- while ((CSL_semAcquireDirect (RM_MALLOC_FREE_SEM)) == 0);
- Osal_rmBeginMemAccess(rmMallocCounter, sizeof(rmMallocCounter));
- /* Increment the allocation counter. */
- rmMallocCounter[0]++;
- Osal_rmEndMemAccess(rmMallocCounter, sizeof(rmMallocCounter));
- CSL_semReleaseSemaphore (RM_MALLOC_FREE_SEM);
-
- /* Allocate memory. */
- return Memory_alloc(SharedRegion_getHeap(0), num_bytes, 0, &errorBlock);
-}
-
-/* FUNCTION PURPOSE: Frees memory
- ***********************************************************************
- * DESCRIPTION: The function is used to free a memory block of the
- * specified size.
- */
-void Osal_rmFree (void *ptr, uint32_t size)
-{
- while ((CSL_semAcquireDirect (RM_MALLOC_FREE_SEM)) == 0);
- /* Increment the free counter. */
- Osal_rmBeginMemAccess(rmFreeCounter, sizeof(rmFreeCounter));
- rmFreeCounter[0]++;
- Osal_rmEndMemAccess(rmFreeCounter, sizeof(rmFreeCounter));
- CSL_semReleaseSemaphore (RM_MALLOC_FREE_SEM);
-
- /* Free memory */
- Memory_free(SharedRegion_getHeap(0), ptr, size);
-}
-
-/* FUNCTION PURPOSE: Critical section enter
- ***********************************************************************
- * DESCRIPTION: The function is used to enter a critical section.
- * Function protects against
- *
- * access from multiple cores
- * and
- * access from multiple threads on single core
- */
-void *Osal_rmCsEnter(void)
-{
- /* Get the hardware semaphore for protection against multiple core access */
- while ((CSL_semAcquireDirect (RM_HW_SEM)) == 0);
- return NULL;
-}
-
-/* FUNCTION PURPOSE: Critical section exit
- ***********************************************************************
- * DESCRIPTION: The function is used to exit a critical section
- * protected using Osal_cppiCsEnter() API.
- */
-void Osal_rmCsExit(void *CsHandle)
-{
- /* Release the hardware semaphore */
- CSL_semReleaseSemaphore (RM_HW_SEM);
-}
-
-/* FUNCTION PURPOSE: Cache invalidate
- ***********************************************************************
- * DESCRIPTION: The function is used to indicate that a block of memory is
- * about to be accessed. If the memory block is cached then this
- * indicates that the application would need to ensure that the
- * cache is updated with the data from the actual memory.
- */
-void Osal_rmBeginMemAccess(void *ptr, uint32_t size)
-{
- uint32_t key;
-
- /* Disable Interrupts */
- key = Hwi_disable();
-
- /* Cleanup the prefetch buffer also. */
- CSL_XMC_invalidatePrefetchBuffer();
-
-#ifdef L2_CACHE
- /* Invalidate L2 cache. This should invalidate L1D as well.
- * Wait until operation is complete. */
- CACHE_invL2 (ptr, size, CACHE_FENCE_WAIT);
-#else
- /* Invalidate L1D cache and wait until operation is complete.
- * Use this approach if L2 cache is not enabled */
- CACHE_invL1d (ptr, size, CACHE_FENCE_WAIT);
-#endif
-
- /* Reenable Interrupts. */
- Hwi_restore(key);
- return;
-}
-
-/* FUNCTION PURPOSE: Cache writeback
- ***********************************************************************
- * DESCRIPTION: The function is used to indicate that the block of memory has
- * finished being accessed. If the memory block is cached then the
- * application would need to ensure that the contents of the cache
- * are updated immediately to the actual memory.
- */
-void Osal_rmEndMemAccess(void *ptr, uint32_t size)
-{
- uint32_t key;
-
- /* Disable Interrupts */
- key = Hwi_disable();
-
-#ifdef L2_CACHE
- /* Writeback L2 cache. This should Writeback L1D as well.
- * Wait until operation is complete. */
- CACHE_wbL2 (ptr, size, CACHE_FENCE_WAIT);
-
-#else
- /* Writeback L1D cache and wait until operation is complete.
- * Use this approach if L2 cache is not enabled */
- CACHE_wbL1d (ptr, size, CACHE_FENCE_WAIT);
-#endif
-
- /* Reenable Interrupts. */
- Hwi_restore(key);
- return;
-}
-
-/* FUNCTION PURPOSE: Creates a task blocking object
- ***********************************************************************
- * DESCRIPTION: The function is used to create a task blocking object
- * capable of blocking the task a RM instance is running
- * within
- */
-void *Osal_rmTaskBlockCreate(void)
-{
- Semaphore_Params semParams;
-
- Semaphore_Params_init(&semParams);
- return((void *)Semaphore_create(0, &semParams, NULL));
-}
-
-/* FUNCTION PURPOSE: Blocks a RM instance
- ***********************************************************************
- * DESCRIPTION: The function is used to block a task whose context a
- * RM instance is running within.
- */
-void Osal_rmTaskBlock(void *handle)
-{
- Semaphore_pend((Semaphore_Handle)handle, BIOS_WAIT_FOREVER);
-}
-
-/* FUNCTION PURPOSE: unBlocks a RM instance
- ***********************************************************************
- * DESCRIPTION: The function is used to unblock a task whose context a
- * RM instance is running within.
- */
-void Osal_rmTaskUnblock(void *handle)
-{
- Semaphore_post((Semaphore_Handle)handle);
-}
-
-/* FUNCTION PURPOSE: Deletes a task blocking object
- ***********************************************************************
- * DESCRIPTION: The function is used to delete a task blocking object
- * provided to a RM instance
- */
-void Osal_rmTaskBlockDelete(void *handle)
-{
- Semaphore_delete((Semaphore_Handle *)&handle);
-}
-
-/* FUNCTION PURPOSE: Prints a variable list
- ***********************************************************************
- * DESCRIPTION: The function is used to print a string to the console
- */
-void Osal_rmLog (char *fmt, ... )
-{
- VaList ap;
-
- va_start(ap, fmt);
- System_vprintf(fmt, ap);
- va_end(ap);
-}
-
diff --git a/test/k2e/c66/bios/rm_shared_test.cfg b/test/k2e/c66/bios/rm_shared_test.cfg
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * */
-
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/*
- * Get the list of names that the build device supports.
- * I.e. ["CORE0", "CORE1", "CORE2" ... ]
- */
-var nameList = ["CORE0", "CORE1"];
-
-/*
- * Since this is a single-image example, we don't (at build-time) which
- * processor we're building for. We therefore supply 'null'
- * as the local procName and allow IPC to set the local procId at runtime.
- */
-MultiProc.setConfig(null, nameList);
-
-/*
- * The SysStd System provider is a good one to use for debugging
- * but does not have the best performance. Use xdc.runtime.SysMin
- * for better performance.
- */
-var System = xdc.useModule('xdc.runtime.System');
-var SysStd = xdc.useModule('xdc.runtime.SysStd');
-System.SupportProxy = SysStd;
-
-/* Modules explicitly used in the application */
-var MessageQ = xdc.useModule('ti.sdo.ipc.MessageQ');
-var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
-var HeapBufMP = xdc.useModule('ti.sdo.ipc.heaps.HeapBufMP');
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/* BIOS/XDC modules */
-var BIOS = xdc.useModule('ti.sysbios.BIOS');
-BIOS.heapSize = 0x10000;
-var Task = xdc.useModule('ti.sysbios.knl.Task');
-
-Program.sectMap[".rmSharedHandleTest"] = new Program.SectionSpec();
-Program.sectMap[".rmSharedHandleTest"] = "MSMCSRAM";
-
-/* Read once when RM_SHARED_SERVER is initialized */
-Program.sectMap[".sharedGRL"] = new Program.SectionSpec();
-Program.sectMap[".sharedGRL"] = "L2SRAM";
-
-Program.sectMap[".sharedGlobalPolicy"] = new Program.SectionSpec();
-Program.sectMap[".sharedGlobalPolicy"] = "L2SRAM";
-
-/* Synchronize all processors (this will be done in Ipc_start) */
-Ipc.procSync = Ipc.ProcSync_ALL;
-
-/*
- * Need to define the shared region. The IPC modules use this
- * to make portable pointers. All processors need to add this
- * call with their base address of the shared memory region.
- * If the processor cannot access the memory, do not add it.
- */
-var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
-SharedRegion.translate = false;
-SharedRegion.setEntryMeta(0,
- { base: 0x0C000000,
- len: 0x00100000,
- ownerProcId: 0,
- isValid: true,
- name: "sharemem",
- });
-
-/* PDK packages */
-var devType = "k2e"
-var Csl = xdc.useModule('ti.csl.Settings');
-Csl.deviceType = devType;
-var Rm = xdc.loadPackage('ti.drv.rm');
-
-
diff --git a/test/k2e/c66/bios/rm_test.cfg b/test/k2e/c66/bios/rm_test.cfg
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * */
-
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/*
- * Get the list of names that the build device supports.
- * I.e. ["CORE0", "CORE1", "CORE2" ... ]
- */
-var nameList = ["CORE0", "CORE1"];
-
-/*
- * Since this is a single-image example, we don't (at build-time) which
- * processor we're building for. We therefore supply 'null'
- * as the local procName and allow IPC to set the local procId at runtime.
- */
-MultiProc.setConfig(null, nameList);
-
-/*
- * The SysStd System provider is a good one to use for debugging
- * but does not have the best performance. Use xdc.runtime.SysMin
- * for better performance.
- */
-var System = xdc.useModule('xdc.runtime.System');
-var SysStd = xdc.useModule('xdc.runtime.SysStd');
-System.SupportProxy = SysStd;
-
-/* Modules explicitly used in the application */
-var MessageQ = xdc.useModule('ti.sdo.ipc.MessageQ');
-var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
-var HeapBufMP = xdc.useModule('ti.sdo.ipc.heaps.HeapBufMP');
-var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
-
-/* BIOS/XDC modules */
-var BIOS = xdc.useModule('ti.sysbios.BIOS');
-BIOS.heapSize = 0x10000;
-var Task = xdc.useModule('ti.sysbios.knl.Task');
-
-Program.sectMap[".sharedGRL"] = new Program.SectionSpec();
-Program.sectMap[".sharedGRL"] = "L2SRAM";
-
-Program.sectMap[".sharedGlobalPolicy"] = new Program.SectionSpec();
-Program.sectMap[".sharedGlobalPolicy"] = "L2SRAM";
-
-/* Synchronize all processors (this will be done in Ipc_start) */
-Ipc.procSync = Ipc.ProcSync_ALL;
-
-/* Shared Memory base address and length */
-var SHAREDMEM = 0x0C000000;
-var SHAREDMEMSIZE = 0x00100000;
-
-/*
- * Need to define the shared region. The IPC modules use this
- * to make portable pointers. All processors need to add this
- * call with their base address of the shared memory region.
- * If the processor cannot access the memory, do not add it.
- */
-var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
-SharedRegion.translate = false;
-SharedRegion.setEntryMeta(0,
- { base: SHAREDMEM,
- len: SHAREDMEMSIZE,
- ownerProcId: 0,
- isValid: true,
- name: "DDR2 RAM",
- });
-
-/* PDK packages */
-var devType = "k2e"
-var Csl = xdc.useModule('ti.csl.Settings');
-Csl.deviceType = devType;
-var Rm = xdc.loadPackage('ti.drv.rm');
-
-