mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/msgmp.c, rtems/src/msgqtranslatereturncode.c, rtems/src/semmp.c, rtems/src/semtranslatereturncode.c: Correct confusion over SuperCore proxy blocking status and Classic API proxy blocking status constants.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* rtems/src/msgmp.c, rtems/src/msgqtranslatereturncode.c,
|
||||
rtems/src/semmp.c, rtems/src/semtranslatereturncode.c: Correct
|
||||
confusion over SuperCore proxy blocking status and Classic API proxy
|
||||
blocking status constants.
|
||||
|
||||
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/src/objectgetinfo.c: Correct for multiprocessor systems when
|
||||
|
||||
@@ -309,7 +309,7 @@ void _Message_queue_MP_Process_packet (
|
||||
the_packet->Prefix.timeout
|
||||
);
|
||||
|
||||
if (! _Thread_Is_proxy_blocking( the_packet->Prefix.return_code ) )
|
||||
if ( the_packet->Prefix.return_code != RTEMS_PROXY_BLOCKING )
|
||||
_Message_queue_MP_Send_response_packet(
|
||||
MESSAGE_QUEUE_MP_RECEIVE_RESPONSE,
|
||||
the_packet->Prefix.id,
|
||||
|
||||
@@ -65,7 +65,7 @@ rtems_status_code _Message_queue_Translate_core_message_queue_return_code (
|
||||
* from the external status codes.
|
||||
*/
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
if ( status == THREAD_STATUS_PROXY_BLOCKING )
|
||||
if ( _Thread_Is_proxy_blocking(status) )
|
||||
return RTEMS_PROXY_BLOCKING;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ void _Semaphore_MP_Process_packet (
|
||||
the_packet->Prefix.timeout
|
||||
);
|
||||
|
||||
if ( ! _Thread_Is_proxy_blocking( the_packet->Prefix.return_code ) )
|
||||
if ( the_packet->Prefix.return_code != RTEMS_PROXY_BLOCKING )
|
||||
_Semaphore_MP_Send_response_packet(
|
||||
SEMAPHORE_MP_OBTAIN_RESPONSE,
|
||||
the_packet->Prefix.id,
|
||||
|
||||
@@ -83,7 +83,7 @@ rtems_status_code _Semaphore_Translate_core_mutex_return_code (
|
||||
* If this thread is blocking waiting for a result on a remote operation.
|
||||
*/
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
if ( status == THREAD_STATUS_PROXY_BLOCKING )
|
||||
if ( _Thread_Is_proxy_blocking(status) )
|
||||
return RTEMS_PROXY_BLOCKING;
|
||||
#endif
|
||||
|
||||
@@ -122,7 +122,7 @@ rtems_status_code _Semaphore_Translate_core_semaphore_return_code (
|
||||
)
|
||||
{
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
if ( status == THREAD_STATUS_PROXY_BLOCKING )
|
||||
if ( _Thread_Is_proxy_blocking(status) )
|
||||
return RTEMS_PROXY_BLOCKING;
|
||||
#endif
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user