mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2007-02-21 Joel Sherrill <joel@OARcorp.com>
* score/src/coremsgsubmit.c: Use Wait.option to avoid cast.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2007-02-21 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* score/src/coremsgsubmit.c: Use Wait.option to avoid cast.
|
||||
|
||||
2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* score/include/rtems/score/heap.h, score/src/heap.c,
|
||||
|
||||
@@ -88,7 +88,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
|
||||
the_thread->Wait.return_argument,
|
||||
size
|
||||
);
|
||||
*(uint32_t *)the_thread->Wait.return_argument_1 = size;
|
||||
*(size_t *)the_thread->Wait.return_argument_1 = size;
|
||||
the_thread->Wait.count = submit_type;
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
@@ -168,7 +168,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
|
||||
executing->Wait.queue = &the_message_queue->Wait_queue;
|
||||
executing->Wait.id = id;
|
||||
executing->Wait.return_argument = buffer;
|
||||
executing->Wait.return_argument_1 = (void *)size;
|
||||
executing->Wait.option = size;
|
||||
executing->Wait.count = submit_type;
|
||||
_ISR_Enable( level );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user