diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-14 21:32:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-14 21:32:12 +0000 |
commit | c244a9ee2c3061b70b9b187bec2dacbf3d256b7c (patch) | |
tree | 3990fec6a1cff86916cbc431f19778c9d80946de /c/src/lib/libbsp/i386 | |
parent | Added stack checker extension (diff) | |
download | rtems-c244a9ee2c3061b70b9b187bec2dacbf3d256b7c.tar.bz2 |
Stack checker extension now accounted for in confdefs.h
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/force386/startup/bspstart.c | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/go32/startup/bspstart.c | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/startup/bspstart.c | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/bspstart.c | 6 |
4 files changed, 2 insertions, 26 deletions
diff --git a/c/src/lib/libbsp/i386/force386/startup/bspstart.c b/c/src/lib/libbsp/i386/force386/startup/bspstart.c index 95e54e259d..98d8d2ba32 100644 --- a/c/src/lib/libbsp/i386/force386/startup/bspstart.c +++ b/c/src/lib/libbsp/i386/force386/startup/bspstart.c @@ -157,14 +157,6 @@ void bsp_start( void ) RAM_END - BSP_Configuration.work_space_size; /* - * Add another extension if using the stack checker - */ - -#ifdef STACK_CHECKER_ON - BSP_Configuration.maximum_extensions++; -#endif - - /* * Tell libio how many fd's we want and allow it to tweak config */ diff --git a/c/src/lib/libbsp/i386/go32/startup/bspstart.c b/c/src/lib/libbsp/i386/go32/startup/bspstart.c index 6232ea0a03..cdf2ac4079 100644 --- a/c/src/lib/libbsp/i386/go32/startup/bspstart.c +++ b/c/src/lib/libbsp/i386/go32/startup/bspstart.c @@ -167,14 +167,6 @@ int main( } /* - * Add another extension if using the stack checker - */ - -#ifdef STACK_CHECKER_ON - BSP_Configuration.maximum_extensions++; -#endif - - /* * Tell libio how many fd's we want and allow it to tweak config */ diff --git a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c index b908504516..4b666781f0 100644 --- a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c +++ b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c @@ -172,11 +172,9 @@ void bsp_start( void ) /* - * Add another extension if using the stack checker + * Tell libio how many fd's we want and allow it to tweak config */ -#ifdef STACK_CHECKER_ON - BSP_Configuration.maximum_extensions++; -#endif + rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS); } diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c index 8a663b5102..46df06836c 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c +++ b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c @@ -172,12 +172,6 @@ void bsp_start( void ) BSP_Configuration.work_space_start = (void *)(RAM_END - BSP_Configuration.work_space_size); - /* Add another extension if using the stack checker. */ - -#ifdef STACK_CHECKER_ON - BSP_Configuration.maximum_extensions++; -#endif - /* Tell libio how many fd's we want and allow it to tweak config. */ rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS); |