diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-23 18:08:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-23 18:08:24 +0000 |
commit | 54c65c0e907ed242440a4ca5d6f13cef499a4223 (patch) | |
tree | 47c9f5b5767288cd2277864293f420905031a9f1 | |
parent | 83259590224c5c174e6ad4502c65c086c1b24964 (diff) |
2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile, rtems_init.c: Add ada_from_c_task example.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | rtems_init.c | 5 |
3 files changed, 9 insertions, 2 deletions
@@ -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> @@ -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) |