MessageQ: Update MesssageQ header for 64 bit addresses
authorSam Nelson <sam.nelson@ti.com>
Sat, 13 Jan 2018 15:11:31 +0000 (10:11 -0500)
committerSam Nelson <sam.nelson@ti.com>
Thu, 9 Aug 2018 20:01:32 +0000 (16:01 -0400)
The reserved fields are expected to hold the next and previous pointers
which needs to work with 64 bit pointers.
Redefined to be Bits64 to accomodate this.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/ipc/MessageQ.h
packages/ti/sdo/ipc/MessageQ.xdc

index 662eaeb03c130c448b46b4a796c1dde39fa7154c..194767210ff1dd110b9b131e37b7f1c9d51b666f 100644 (file)
@@ -599,8 +599,8 @@ typedef struct {
  *  @brief      Required first field in every message
  */
 typedef struct {
-    Bits32       reserved0;         /*!< reserved for List.elem->next       */
-    Bits32       reserved1;         /*!< reserved for List.elem->prev       */
+    Bits64       reserved0;         /*!< reserved for List.elem->next       */
+    Bits64       reserved1;         /*!< reserved for List.elem->prev       */
     Bits32       msgSize;           /*!< message size                       */
     Bits16       flags;             /*!< bitmask of different flags         */
     Bits16       msgId;             /*!< message id                         */
index 2509bf1a626e24d4fa7a5eb6654cd3ed52879880..d7df795535beaf09ba55a5b2d785d24379a5c461 100644 (file)
@@ -708,8 +708,8 @@ internal:
 
     /*! Required first field in every message */
     @Opaque struct MsgHeader {
-        Bits32       reserved0;         /* reserved for List.elem->next */
-        Bits32       reserved1;         /* reserved for List.elem->prev */
+        Bits64       reserved0;         /* reserved for List.elem->next */
+        Bits64       reserved1;         /* reserved for List.elem->prev */
         Bits32       msgSize;           /* message size                 */
         Bits16       flags;             /* bitmask of different flags   */
         Bits16       msgId;             /* message id                   */