summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-07-02 15:28:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-07-02 15:28:54 +0000
commit81b329a94f1bc2bcd0c3fb3e93f4d74c37fddcec (patch)
treec071a8bca37c64e6e95f59b30203a63d1a22897c /cpukit/score/include/rtems/score/thread.h
parent2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-81b329a94f1bc2bcd0c3fb3e93f4d74c37fddcec.tar.bz2
Support rtems_ada_self iff __RTEMS_ADA__ is given.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 3952d183c8..6f707ce652 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -331,8 +331,10 @@ struct Thread_Control_struct {
boolean do_post_task_switch_extension;
/** This field is true if the thread is preemptible. */
boolean is_preemptible;
+#if __RTEMS_ADA__
/** This field is the GNAT self context pointer. */
void *rtems_ada_self;
+#endif
/** This field is the length of the time quantum that this thread is
* allowed to consume. The algorithm used to manage limits on CPU usage
* is specified by budget_algorithm.