Stack checker extension now accounted for in confdefs.h

This commit is contained in:
Joel Sherrill
1998-04-14 21:32:12 +00:00
parent ab97da95b3
commit c244a9ee2c
27 changed files with 3 additions and 201 deletions

View File

@@ -169,14 +169,6 @@ int bsp_start(
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Tell libio how many fd's we want and allow it to tweak config * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -346,14 +346,6 @@ void bsp_start(void)
} }
#endif #endif
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
#if SIMHPPA_FAST_IDLE #if SIMHPPA_FAST_IDLE
/* /*
* Add 1 extension for fast idle * Add 1 extension for fast idle

View File

@@ -156,14 +156,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
RAM_END - BSP_Configuration.work_space_size; 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -166,14 +166,6 @@ int main(
_exit( 1 ); _exit( 1 );
} }
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -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 rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
BSP_Configuration.maximum_extensions++;
#endif
} }

View File

@@ -172,12 +172,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = BSP_Configuration.work_space_start =
(void *)(RAM_END - BSP_Configuration.work_space_size); (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. */ /* Tell libio how many fd's we want and allow it to tweak config. */
rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS); rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);

View File

@@ -171,14 +171,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -185,14 +185,6 @@ void bsp_start( void )
console_reserve_resources( &BSP_Configuration ); console_reserve_resources( &BSP_Configuration );
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -157,14 +157,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00); (((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00);
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -166,14 +166,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00); (((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00);
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -145,14 +145,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -141,14 +141,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -186,14 +186,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size); (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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -167,14 +167,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size); (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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -175,14 +175,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size); (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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -235,14 +235,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *) BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size); (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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -190,14 +190,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -144,14 +144,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -151,14 +151,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Tell libio how many fd's we want and allow it to tweak config * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -151,14 +151,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Tell libio how many fd's we want and allow it to tweak config * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -149,14 +149,6 @@ int bsp_start(
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Tell libio how many fd's we want and allow it to tweak config * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -159,14 +159,6 @@ void bsp_start( void )
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
/*
* Add 1 extension for 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 * Tell libio how many fd's we want and allow it to tweak config
*/ */

View File

@@ -309,13 +309,6 @@ void bsp_start( void )
BSP_Configuration.maximum_extensions++; BSP_Configuration.maximum_extensions++;
#endif #endif
/*
* Add 1 extension for MPCI_fatal
*/
if (BSP_Configuration.User_multiprocessing_table)
BSP_Configuration.maximum_extensions++;
/* /*
* Set the "clicks per tick" for the simulator * Set the "clicks per tick" for the simulator
* used by XXX/clock/clock.c to schedule interrupts * used by XXX/clock/clock.c to schedule interrupts

View File

@@ -20,6 +20,7 @@ INSTALLED=$(PGMS:%=$(DESTDIR)/%)
all: $(DESTDIR) $(PGMS) install all: $(DESTDIR) $(PGMS) install
install: $(INSTALLED) install: $(INSTALLED)
rm -f $(DESTDIR)/psim-gdb
cp $(DESTDIR)/psim $(DESTDIR)/psim-gdb cp $(DESTDIR)/psim $(DESTDIR)/psim-gdb
# Install the program # Install the program

View File

@@ -151,14 +151,6 @@ void bsp_start(void)
BSP_Configuration = Configuration; BSP_Configuration = Configuration;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Need to "allocate" the memory for the RTEMS Workspace and * Need to "allocate" the memory for the RTEMS Workspace and
* tell the RTEMS configuration where it is. This memory is * tell the RTEMS configuration where it is. This memory is

View File

@@ -298,14 +298,6 @@ void bsp_start( void )
console_reserve_resources( &BSP_Configuration ); console_reserve_resources( &BSP_Configuration );
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
#if SIMSPARC_FAST_IDLE #if SIMSPARC_FAST_IDLE
/* /*
* Add 1 extension for fast idle * Add 1 extension for fast idle

View File

@@ -302,14 +302,6 @@ bsp_start(void)
Cpu_table.extra_mpci_receive_server_stack = 0; Cpu_table.extra_mpci_receive_server_stack = 0;
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker
*/
BSP_Configuration.maximum_extensions++;
#endif
/* /*
* Tell libio how many fd's we want and allow it to tweak config * Tell libio how many fd's we want and allow it to tweak config
*/ */