diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-11-23 17:38:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-11-23 17:38:09 +0000 |
commit | 97e2729d1a3432b9792b82ce88ce6d804a104f7a (patch) | |
tree | ce8c041ef504f965a4af05775af348c7023b19f9 /c/src/exec/score/src/coremsg.c | |
parent | Added networking. (diff) | |
download | rtems-97e2729d1a3432b9792b82ce88ce6d804a104f7a.tar.bz2 |
Added --disable-multiprocessing flag and modified a lot of files to make
it work.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/src/coremsg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/score/src/coremsg.c b/c/src/exec/score/src/coremsg.c index 34778d26cd..1300b49951 100644 --- a/c/src/exec/score/src/coremsg.c +++ b/c/src/exec/score/src/coremsg.c @@ -26,7 +26,9 @@ #include <rtems/score/states.h> #include <rtems/score/thread.h> #include <rtems/score/wkspace.h> +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/mpci.h> +#endif /*PAGE * @@ -217,8 +219,10 @@ CORE_message_queue_Status _CORE_message_queue_Broadcast( *(unsigned32 *)the_thread->Wait.return_argument_1 = size; +#if defined(RTEMS_MULTIPROCESSING) if ( !_Objects_Is_local_id( the_thread->Object.id ) ) (*api_message_queue_mp_support) ( the_thread, id ); +#endif } *count = number_broadcasted; @@ -394,8 +398,10 @@ CORE_message_queue_Status _CORE_message_queue_Submit( ); *(unsigned32 *)the_thread->Wait.return_argument_1 = size; +#if defined(RTEMS_MULTIPROCESSING) if ( !_Objects_Is_local_id( the_thread->Object.id ) ) (*api_message_queue_mp_support) ( the_thread, id ); +#endif return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; } |