]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/commitdiff
Using _BIG_ENDIAN to detect BE platforms
authorAnuj Aggarwal <anuj.aggarwal@ti.com>
Sun, 13 Sep 2009 05:47:30 +0000 (11:17 +0530)
committerAnuj Aggarwal <anuj.aggarwal@ti.com>
Sun, 13 Sep 2009 05:47:30 +0000 (11:17 +0530)
packages/ti/sdo/edma3/drv/edma3_drv.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 9bfcddd..6343122
@@ -2449,7 +2449,7 @@ typedef struct  {
  * This is a mapping of the EDMA3 PaRAM set provided to the user
  * for ease of modification of the individual fields
  */
-#ifndef BIG_ENDIAN_MODE
+#ifndef _BIG_ENDIAN
 /* LITTLE_ENDIAN_MODE */
 typedef struct  {
         /** OPT field of PaRAM Set */
@@ -2522,6 +2522,10 @@ typedef struct  {
          */
         volatile unsigned short cCnt;
 
+        /**
+         * \brief Reserved
+         */
+        volatile short  reserved;
 } EDMA3_DRV_PaRAMRegs;
 #else
 /* BIG_ENDIAN_MODE */
@@ -2601,7 +2605,7 @@ typedef struct  {
          */
         volatile unsigned short cCnt;
 } EDMA3_DRV_PaRAMRegs;
-#endif         /* #ifndef BIG_ENDIAN_MODE */
+#endif         /* #ifndef _BIG_ENDIAN */
 
 /**
  * \brief Event queue priorities setup