[rtems commit] score: Fix MPCI message layout

Sebastian Huber sebh at rtems.org
Fri Jul 1 09:58:59 UTC 2016


Module:    rtems
Branch:    master
Commit:    4cb13c399827a39a9108a631e6afddf6d96de60c
Changeset: http://git.rtems.org/rtems/commit/?id=4cb13c399827a39a9108a631e6afddf6d96de60c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul  1 11:55:23 2016 +0200

score: Fix MPCI message layout

Restore the 32-bit priority field in MP_packet_Prefix.

Bug introduced by 254dc82daf8cbd6922376fcbb81c31e21cbf4d16.

Close #2750.

---

 cpukit/score/include/rtems/score/mppkt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/include/rtems/score/mppkt.h b/cpukit/score/include/rtems/score/mppkt.h
index cd1d9b9..573abf5 100644
--- a/cpukit/score/include/rtems/score/mppkt.h
+++ b/cpukit/score/include/rtems/score/mppkt.h
@@ -85,7 +85,7 @@ typedef struct {
   /** This field is the ID of the originating thread. */
   Objects_Id              source_tid;
   /** This field is the priority of the originating thread. */
-  Priority_Control        source_priority;
+  uint32_t                source_priority;
   /** This field is where the status of the operation will be returned. */
   uint32_t                return_code;
   /** This field is the length of the data following the prefix. */




More information about the vc mailing list