forked from Imagelibrary/rtems
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/coremsgseize.c, src/coremsgsubmit.c: Remove unnecessary typecasts in assignments to thread->Wait.return_argument.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* src/coremsgseize.c, src/coremsgsubmit.c:
|
||||
Remove unnecessary typecasts in assignments to
|
||||
thread->Wait.return_argument.
|
||||
|
||||
2003-10-02 Phil Torre <ptorre@zetron.com>
|
||||
|
||||
PR 504/rtems
|
||||
|
||||
@@ -127,7 +127,7 @@ void _CORE_message_queue_Seize(
|
||||
_Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
|
||||
executing->Wait.queue = &the_message_queue->Wait_queue;
|
||||
executing->Wait.id = id;
|
||||
executing->Wait.return_argument = (void *)buffer;
|
||||
executing->Wait.return_argument = buffer;
|
||||
executing->Wait.return_argument_1 = (void *)size;
|
||||
/* Wait.count will be filled in with the message priority */
|
||||
_ISR_Enable( level );
|
||||
|
||||
@@ -163,7 +163,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
|
||||
_Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
|
||||
executing->Wait.queue = &the_message_queue->Wait_queue;
|
||||
executing->Wait.id = id;
|
||||
executing->Wait.return_argument = (void *)buffer;
|
||||
executing->Wait.return_argument = buffer;
|
||||
executing->Wait.return_argument_1 = (void *)size;
|
||||
executing->Wait.count = submit_type;
|
||||
_ISR_Enable( level );
|
||||
|
||||
Reference in New Issue
Block a user