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 /cpukit/score/include/rtems/score/thread.h | |
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-- | cpukit/score/include/rtems/score/thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 7fc3361c39..574d0493d2 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -23,7 +23,9 @@ extern "C" { #include <rtems/score/context.h> #include <rtems/score/cpu.h> +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/mppkt.h> +#endif #include <rtems/score/object.h> #include <rtems/score/priority.h> #include <rtems/score/stack.h> @@ -141,7 +143,9 @@ typedef struct { unsigned32 resource_count; Thread_Wait_information Wait; Watchdog_Control Timer; +#if defined(RTEMS_MULTIPROCESSING) MP_packet_Prefix *receive_packet; +#endif /****************** end of common block ********************/ Chain_Node Active; } Thread_Proxy_control; @@ -171,7 +175,9 @@ struct Thread_Control_struct { unsigned32 resource_count; Thread_Wait_information Wait; Watchdog_Control Timer; +#if defined(RTEMS_MULTIPROCESSING) MP_packet_Prefix *receive_packet; +#endif /****************** end of common block ********************/ boolean is_global; boolean do_post_task_switch_extension; @@ -619,7 +625,9 @@ Thread _Thread_Idle_body( #ifndef __RTEMS_APPLICATION__ #include <rtems/score/thread.inl> #endif +#if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/threadmp.h> +#endif #ifdef __cplusplus } |