mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
Stack checker extension now accounted for in confdefs.h
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user