diff options
author | cvs2git <rtems-devel@rtems.org> | 1999-08-20 19:38:17 +0000 |
---|---|---|
committer | cvs2git <rtems-devel@rtems.org> | 1999-08-20 19:38:17 +0000 |
commit | fef087a8853350982848234d27a1703ebe2c3916 (patch) | |
tree | 321aa15f430774e64397f46da0ed5fbca4538708 | |
parent | 7efcefa510d143c7bd7e4fceb6f9fb428720decc (diff) |
This commit was manufactured by cvs2svn to create tag 'ada-ada-examples-19990820
examples-19990820'.
Sprout from OAR 1999-04-20 13:05:42 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'base GNAT/RTEMS examples'
Cherrypick from master 1999-08-20 19:38:16 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Changed version to 19990820.':
VERSION
hello_world_ada/Makefile.erc32
hello_world_ada/init.c
-rw-r--r-- | VERSION | 11 | ||||
-rw-r--r-- | hello_world_ada/Makefile.erc32 | 10 | ||||
-rw-r--r-- | hello_world_ada/init.c | 2 |
3 files changed, 18 insertions, 5 deletions
@@ -0,0 +1,11 @@ +# +# Version file +# +# This file is automatically generated -- DO NOT EDIT!!! +# +# +# + +This contains Ada examples programs and tests. + +It is version: 19990820 diff --git a/hello_world_ada/Makefile.erc32 b/hello_world_ada/Makefile.erc32 index fe2db50..ab09dbb 100644 --- a/hello_world_ada/Makefile.erc32 +++ b/hello_world_ada/Makefile.erc32 @@ -6,17 +6,17 @@ MAIN=hello # Tool paths target=sparc-rtems -tooldir=/home/joel/gnat-3.10b/${target}/ -rtemsdir=${tooldir}/rtems/erc32 +tooldir=/home/joel/gnat-to-test/${target}/ +rtemsdir=${tooldir}/erc32 # Tool names GCC=${tooldir}/bin/${target}-gcc GNATMAKE=${tooldir}/bin/${target}-gnatmake SIZE=${tooldir}/bin/${target}-size -SIS=${tooldir}/bin/sis -GDB=${tooldir}/bin/sis-gdb +SIS=${tooldir}/bin/sparc-rtems-sis +GDB=${tooldir}/bin/sparc-rtems-gdb -CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcypress +CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=cypress all: init.o $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ diff --git a/hello_world_ada/init.c b/hello_world_ada/init.c index 3a5b761..0aac9a7 100644 --- a/hello_world_ada/init.c +++ b/hello_world_ada/init.c @@ -53,6 +53,7 @@ void *POSIX_Init( void *argument ) status = pthread_attr_init( &attr ); assert( !status ); +#define GNAT_MAIN_STACKSPACE 100 #ifdef GNAT_MAIN_STACKSPACE stacksize = GNAT_MAIN_STACKSPACE * 1024; #else @@ -79,6 +80,7 @@ void *POSIX_Init( void *argument ) #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_MAXIMUM_SEMAPHORES 10 #define CONFIGURE_GNAT_RTEMS /* #define CONFIGURE_MAXIMUM_ADA_TASKS 20 |