summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-23 18:08:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-23 18:08:24 +0000
commit54c65c0e907ed242440a4ca5d6f13cef499a4223 (patch)
tree47c9f5b5767288cd2277864293f420905031a9f1
parent83259590224c5c174e6ad4502c65c086c1b24964 (diff)
2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile, rtems_init.c: Add ada_from_c_task example.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile2
-rw-r--r--rtems_init.c5
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5024bba..e5c8f46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * Makefile, rtems_init.c: Add ada_from_c_task example.
+
+2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* Makefile.shared: Ignore .svn also.
2008-07-08 Joel Sherrill <joel.sherrill@oarcorp.com>
diff --git a/Makefile b/Makefile
index 85c3057..8cda0e8 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ include $(RTEMS_CUSTOM)
include $(RTEMS_ROOT)/make/directory.cfg
SUBDIRS=empty hello_world_ada hello_via_task delay_until stack_check \
- task_priority exception_test
+ task_priority exception_test ada_from_c_task
ifeq ($(RTEMS_BSP),erc32)
SUBDIRS += irq_test irq_test_c
diff --git a/rtems_init.c b/rtems_init.c
index 179f71e..f73e156 100644
--- a/rtems_init.c
+++ b/rtems_init.c
@@ -243,7 +243,10 @@ void *POSIX_Init( void *argument )
*/
#define CONFIGURE_GNAT_RTEMS
#define CONFIGURE_MAXIMUM_ADA_TASKS 20
-#define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0
+
+#if !defined(CONFIGURE_MAXIMUM_FAKE_ADA_TASKS)
+ #define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0
+#endif
/* Account for any extra task stack size */
#define CONFIGURE_MEMORY_OVERHEAD (GNAT_MAIN_STACKSPACE)