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:
Joel Sherrill
2008-09-05 21:39:16 +00:00
parent cdf42cd9b7
commit dd1a460ef8
5 changed files with 12 additions and 5 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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

View File

@@ -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,

View File

@@ -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
/*