[PATCH 2/2] Export _NCPUWORDS for Ada
Jan Sommer
soja-lists at aries.uberspace.de
Thu Oct 29 19:59:21 UTC 2015
Used in s-osinte-rtems.ads to model pthread_attr_t
---
cpukit/libgnat/adasupp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cpukit/libgnat/adasupp.c b/cpukit/libgnat/adasupp.c
index 662b1cc..cde36b6 100644
--- a/cpukit/libgnat/adasupp.c
+++ b/cpukit/libgnat/adasupp.c
@@ -10,6 +10,10 @@
#include <rtems/posix/pthreadimpl.h>
#include <rtems/score/stackimpl.h>
+
+/* export _NCPUWORDS for Ada */
+const size_t _ada_ncpuwords = _NCPUWORDS - 1;
+
/*
* _ada_pthread_minimum_stack_size
*
--
2.5.0
More information about the devel
mailing list