diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-21 14:44:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-21 14:44:11 +0000 |
commit | adf98bd423cabd47466b13d3432284da0d532176 (patch) | |
tree | 617673fc0cd37ebff3661097b40260ca7e2a434e /cpukit/score/macros/rtems | |
parent | Dispersal of internal thread handler resulted in IDLE thread becoming (diff) | |
download | rtems-adf98bd423cabd47466b13d3432284da0d532176.tar.bz2 |
Removed the internal thread objects and dispersed its contents to
the thread handler (IDLE), MPCI object (SYSI now MP Receive)
and initialize_executive_early (IO initialization). The SYSI task
no longer exists in a single processor configuration. This reduces
single processor Workspace requirements by a TCB and a stack which
is often larger than the minimum stack size. Moving the IO initialization
plus accompanying BSP hooks eliminated an initialization ordering problem
in which a global task could be created before the MPCI was initialized.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/macros/rtems/score/thread.inl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/score/macros/rtems/score/thread.inl b/cpukit/score/macros/rtems/score/thread.inl index 3f7afb054b..735686aa20 100644 --- a/cpukit/score/macros/rtems/score/thread.inl +++ b/cpukit/score/macros/rtems/score/thread.inl @@ -197,5 +197,21 @@ void _Thread_Enable_dispatch( void ); #define _Thread_Is_proxy_blocking( _code ) \ ( (_code) == THREAD_STATUS_PROXY_BLOCKING ) +/* + * _Thread_Internal_allocate + * + */ + +#define _Thread_Internal_allocate() \ + ((Thread_Control *) _Objects_Allocate( &_Thread_Internal_information )) + +/* + * _Thread_Internal_free + * + */ + +#define _Thread_Internal_free( _the_task ) \ + _Objects_Free( &_Thread_Internal_information, &(_the_task)->Object ) + #endif /* end of include file */ |