From 54c65c0e907ed242440a4ca5d6f13cef499a4223 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 23 Jul 2008 18:08:24 +0000 Subject: 2008-07-23 Joel Sherrill * Makefile, rtems_init.c: Add ada_from_c_task example. --- ChangeLog | 4 ++++ Makefile | 2 +- rtems_init.c | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5024bba..e5c8f46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-23 Joel Sherrill + + * Makefile, rtems_init.c: Add ada_from_c_task example. + 2008-07-23 Joel Sherrill * Makefile.shared: Ignore .svn also. 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) -- cgit v1.2.3