minimal changes which fixed PRSDK-4786
authorMing Wei <mwei@ti.com>
Mon, 1 Oct 2018 17:27:45 +0000 (12:27 -0500)
committerMing Wei <mwei@ti.com>
Mon, 1 Oct 2018 17:27:45 +0000 (12:27 -0500)
Signed-off-by: Ming Wei <mwei@ti.com>
realtime_demo_bios/k2g/src/sample_k2g_cfg.c
realtime_demo_bios/k2g/src/sample_k2g_int_reg.c

index 05677d9eeaf432febec5b120d2c7c7fa9066a11a..99efb340b46b19786dfb095a1260589c7d5c89a8 100644 (file)
@@ -110,11 +110,11 @@ unsigned int numEdma3Tc[NUM_EDMA3_INSTANCES] = {2u, 2u};
  */\r
 unsigned int ccXferCompInt[NUM_EDMA3_INSTANCES][EDMA3_MAX_REGIONS] = {\r
                                                                                                        {\r
-                                                                                                       0x88, 0x89, 0x8a, 0x8b,\r
+                                                                                                       0x06, 0x89, 0x8a, 0x8b,\r
                                                                                                        0x8c, 0x8d, 0x8e, 0x8f,\r
                                                                                                        },\r
                                                                                                        {\r
-                                                                                                       0x90, 0x91, 0x92, 0x93,\r
+                                                                                                       0x07, 0x91, 0x92, 0x93,\r
                                                                                                        0x94, 0x95, 0x96, 0x97,\r
                                                                                                        },\r
                                                                                                };\r
@@ -278,7 +278,7 @@ EDMA3_RM_GblConfigParams sampleEdma3GblCfgParams[NUM_EDMA3_INSTANCES] =
                {\r
                0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u,\r
                8u, 9u, 10u, 11u, 12u, 13u, EDMA3_RM_CH_NO_TCC_MAP, EDMA3_RM_CH_NO_TCC_MAP,\r
-               16u, 17u, 18u, 19u, 20u, 21u, 22u, 23u,\r
+               EDMA3_RM_CH_NO_TCC_MAP, EDMA3_RM_CH_NO_TCC_MAP, 18u, 19u, 20u, 21u, 22u, 23u,\r
                24u, 25u, 26u, 27u, 28u, 29u, EDMA3_RM_CH_NO_TCC_MAP, EDMA3_RM_CH_NO_TCC_MAP,\r
                32u, 33u, 34u, 35u, 36u, 37u, 38u, 39u,\r
                40u, 41u, 42u, 43u, 44u, 45u, EDMA3_RM_CH_NO_TCC_MAP, EDMA3_RM_CH_NO_TCC_MAP,\r
@@ -292,7 +292,7 @@ EDMA3_RM_GblConfigParams sampleEdma3GblCfgParams[NUM_EDMA3_INSTANCES] =
                 * All channels need not be mapped, some can be free also.\r
                 */\r
                {\r
-               0x03003333u,\r
+               0x03033333u,\r
                0x0000000Fu\r
                }\r
                },\r
@@ -471,7 +471,7 @@ EDMA3_RM_InstanceInitConfig sampleInstInitConfig[NUM_EDMA3_INSTANCES][EDMA3_MAX_
 \r
                                /* ownDmaChannels */\r
                                /* 31     0     63    32 */\r
-                               {0x0f00000Fu, 0x0000000Fu},\r
+                               {0x0f03000Fu, 0x0000000Fu},\r
 \r
                                /* ownQdmaChannels */\r
                                /* 31     0 */\r
@@ -479,7 +479,7 @@ EDMA3_RM_InstanceInitConfig sampleInstInitConfig[NUM_EDMA3_INSTANCES][EDMA3_MAX_
 \r
                                /* ownTccs */\r
                                /* 31     0     63    32 */\r
-                               {0x0f00000Fu, 0x0000000Fu},\r
+                               {0x0f03000Fu, 0x0000000Fu},\r
 \r
                                /* resvdPaRAMSets */\r
                                /* 31     0     63    32     95    64     127   96 */\r
index fb891abcc7051dcde800b1fd4929374fd09afdf2..fada4f8dde64d5b852a40542aead5bc5b8212bbd 100644 (file)
@@ -37,7 +37,7 @@
 */\r
 \r
 #include <ti/sysbios/knl/Semaphore.h>\r
-#include <ti/sysbios/family/c64p/Hwi.h>\r
+#include <ti/sysbios/hal/Hwi.h>\r
 #include <ti/sysbios/family/c64p/EventCombiner.h>\r
 #include <ti/sysbios/family/c66/tci66xx/CpIntc.h>\r
 \r