summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-30 17:54:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-30 17:54:29 +0000
commit94d9beecf41191e96554dd9d12ffdbabe9cc54df (patch)
tree1ce488f0745b16c27db112b2b2761486576ce8f3 /cpukit/score/include/rtems/score/thread.h
parent2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-94d9beecf41191e96554dd9d12ffdbabe9cc54df.tar.bz2
2009-10-30 Glenn Humphrey <glenn.humphrey@oarcorp.com>
PR pr1462/cpukit * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c, score/include/rtems/score/thread.h: Fix bugs in rate monotonic statistics.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index ed5b475cd1..d84310a9d2 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -460,13 +460,17 @@ 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 uint32_t _Thread_Do_post_task_switch_extension;
+SCORE_EXTERN bool _Thread_Do_post_task_switch_extension;
/**
* The following holds how many user extensions are in the system. This