summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b645e7)
raw | patch | inline | side by side (parent: 5b645e7)
author | Eric Ruei <e-ruei1@ti.com> | |
Mon, 10 Mar 2014 14:21:29 +0000 (10:21 -0400) | ||
committer | Eric Ruei <e-ruei1@ti.com> | |
Mon, 10 Mar 2014 14:21:29 +0000 (10:21 -0400) |
example/sample/src/sample.c | patch | blob | history | |
package.xdc | patch | blob | history |
index 9f838dfc66112989a28bf905aa0409227923492e..b3763bbc077ee830871796a3a925f0de7f8b6318 100755 (executable)
}\r
else\r
System_printf ("\nCore %d : QMSS initialization done\n", corenum);\r
- \r
+ \r
/* Mark that the local initialization is complete */\r
Osal_cppiCsEnter(); \r
CACHE_invL1d ((void *) &isLocInitDone, 4, CACHE_WAIT); \r
Osal_cppiCsExit(NULL); \r
}\r
\r
+ \r
/* Synchronize all consumer cores. They must wait for the producer core to finish initialization. */\r
\r
do{\r
CACHE_invL1d ((void *) &isLocInitDone, 4, CACHE_WAIT);\r
} while (isLocInitDone < NUM_CORES);\r
- \r
\r
/* Set up QMSS CPDMA configuration */\r
memset ((void *) &cpdmaCfg, 0, sizeof (Cppi_CpDmaInitCfg));\r
}\r
}\r
\r
+#ifndef __LINUX_USER_SPACE \r
/* Indicate that the test is complete at this core */\r
Osal_cppiCsEnter(); \r
CACHE_invL1d ((void *) &isTestDone, 4, CACHE_WAIT); \r
do{\r
CACHE_invL1d ((void *) &isTestDone, 4, CACHE_WAIT);\r
} while (isTestDone < NUM_CORES);\r
+#endif \r
\r
/* Deinitialize CPPI LLD */\r
if ((result = Cppi_exit ()) != CPPI_SOK)\r
diff --git a/package.xdc b/package.xdc
index 77810aa5b75e79c321a0aaf2452ca5b61c03c50f..3269d57112dccdb0d60a26db1cb9e4245725aaae 100755 (executable)
--- a/package.xdc
+++ b/package.xdc
* Copyright (C) 2011-2013, Texas Instruments, Inc.\r
*****************************************************************************/\r
\r
-package ti.drv.cppi[02,01,00,03] {\r
+package ti.drv.cppi[02,01,00,04] {\r
module Settings;\r
}\r