diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 11:35:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 11:35:36 +0000 |
commit | 517655cde4ac91e32055db467c500d8f840ec7d3 (patch) | |
tree | e2d1cb24b98383fa5be55e02e2bd1d782d5e4368 | |
parent | 2009-11-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-517655cde4ac91e32055db467c500d8f840ec7d3.tar.bz2 |
2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/thread.h: Revert accidentally committed
change. It is possible that _Thread_Dispatch_disable_level can be an
8-bit variable but this impacts assembly and must be carefully
considered.
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 58064a8220..ee325739d9 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> + + * score/include/rtems/score/thread.h: Revert accidentally committed + change. It is possible that _Thread_Dispatch_disable_level can be an + 8-bit variable but this impacts assembly and must be carefully + considered. + 2009-11-08 Ralf Corsépius <ralf.corsepius@rtems.org> * libmisc/capture/capture.h (RTEMS_CAPTURE_CONTROL_FROM_MASK): diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index d84310a9d2..ed5b475cd1 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -460,17 +460,13 @@ SCORE_EXTERN Context_Control _Thread_BSP_context; * counter which is used to prevent context switches at inopportune * moments. */ -#if defined(__AVR__) -SCORE_EXTERN volatile uint8_t _Thread_Dispatch_disable_level; -#else SCORE_EXTERN volatile uint32_t _Thread_Dispatch_disable_level; -#endif /** * If this is non-zero, then the post-task switch extension * is run regardless of the state of the per thread flag. */ -SCORE_EXTERN bool _Thread_Do_post_task_switch_extension; +SCORE_EXTERN uint32_t _Thread_Do_post_task_switch_extension; /** * The following holds how many user extensions are in the system. This |