summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 00:10:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 00:10:03 +0000
commit9b64c2d5f7d6875cc20552b0ff3bc55cdc7d60d3 (patch)
tree8887bea4cb00d4adb41fe872b8a4b7e5f2391f0c /c/src
parentPer suggestion from Eric Norum, went from one initial extension set (diff)
downloadrtems-9b64c2d5f7d6875cc20552b0ff3bc55cdc7d60d3.tar.bz2
Per suggestion from Eric Norum, went from one initial extension set
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/ada/rtems.ads25
-rw-r--r--c/src/lib/libbsp/a29k/portsw/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c14
-rw-r--r--c/src/lib/libbsp/i386/force386/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/i386/go32/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/i386/i386ex/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/bspstart.c12
-rw-r--r--c/src/lib/libbsp/i960/cvme961/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c12
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/idp/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/mips/p4000/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/powerpc/psim/startup/bspstart.c14
-rw-r--r--c/src/lib/libbsp/sh/gensh1/startup/bspstart.c13
-rw-r--r--c/src/lib/libbsp/sparc/erc32/startup/bspstart.c14
-rw-r--r--c/src/lib/libbsp/unix/posix/startup/bspstart.c13
27 files changed, 13 insertions, 351 deletions
diff --git a/c/src/ada/rtems.ads b/c/src/ada/rtems.ads
index be75883308..508f24046f 100644
--- a/c/src/ada/rtems.ads
+++ b/c/src/ada/rtems.ads
@@ -697,18 +697,19 @@ package RTEMS is
type Configuration_Table is
record
- Work_Space_Start : RTEMS.Address;
- Work_Space_Size : RTEMS.Unsigned32;
- Maximum_Extensions : RTEMS.Unsigned32;
- Microseconds_Per_Tick : RTEMS.Unsigned32;
- Ticks_Per_Timeslice : RTEMS.Unsigned32;
- Maximum_Devices : RTEMS.Unsigned32;
- Number_Of_Device_Drivers : RTEMS.Unsigned32;
- Device_Driver_Table : RTEMS.Driver_Address_Table_Pointer;
- User_Extension_Table : RTEMS.Extensions_Table_Pointer;
- User_Multiprocessing_Table : RTEMS.Multiprocessing_Table_Pointer;
- RTEMS_API_Configuration : RTEMS.API_Configuration_Table_Pointer;
- POSIX_API_Configuration : RTEMS.POSIX_API_Configuration_Table_Pointer;
+ Work_Space_Start : RTEMS.Address;
+ Work_Space_Size : RTEMS.Unsigned32;
+ Maximum_Extensions : RTEMS.Unsigned32;
+ Microseconds_Per_Tick : RTEMS.Unsigned32;
+ Ticks_Per_Timeslice : RTEMS.Unsigned32;
+ Maximum_Devices : RTEMS.Unsigned32;
+ Number_Of_Device_Drivers : RTEMS.Unsigned32;
+ Device_Driver_Table : RTEMS.Driver_Address_Table_Pointer;
+ Number_Of_Initial_Extensions : RTEMS.Unsigned32;
+ User_Extension_Table : RTEMS.Extensions_Table_Pointer;
+ User_Multiprocessing_Table : RTEMS.Multiprocessing_Table_Pointer;
+ RTEMS_API_Configuration : RTEMS.API_Configuration_Table_Pointer;
+ POSIX_API_Configuration : RTEMS.POSIX_API_Configuration_Table_Pointer;
end record;
type Configuration_Table_Pointer is access all Configuration_Table;
diff --git a/c/src/lib/libbsp/a29k/portsw/startup/bspstart.c b/c/src/lib/libbsp/a29k/portsw/startup/bspstart.c
index fea377e66d..0032c417e1 100644
--- a/c/src/lib/libbsp/a29k/portsw/startup/bspstart.c
+++ b/c/src/lib/libbsp/a29k/portsw/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
#ifndef lint
static char _sccsid[] = "@(#)bspstart.c 09/11/96 1.15\n";
#endif
@@ -120,15 +116,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
index ff9c0e26fa..8676be3ba6 100644
--- a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
@@ -30,10 +30,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
@@ -215,16 +211,6 @@ bsp_pretasking_hook(void)
rtems_fatal_error_occurred(rc);
}
#endif
-
-
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
}
/*
diff --git a/c/src/lib/libbsp/i386/force386/startup/bspstart.c b/c/src/lib/libbsp/i386/force386/startup/bspstart.c
index 98d8d2ba32..12fcaa7c4d 100644
--- a/c/src/lib/libbsp/i386/force386/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/force386/startup/bspstart.c
@@ -25,10 +25,6 @@
#include <libcsupport.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -93,15 +89,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/i386/go32/startup/bspstart.c b/c/src/lib/libbsp/i386/go32/startup/bspstart.c
index cdf2ac4079..f84d871a35 100644
--- a/c/src/lib/libbsp/i386/go32/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/go32/startup/bspstart.c
@@ -28,10 +28,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -101,15 +97,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
index 4b666781f0..2bda7165fe 100644
--- a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
@@ -26,10 +26,6 @@
#include <libcsupport.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -106,15 +102,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
index 46df06836c..18f36d61a1 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
@@ -38,10 +38,6 @@
#include <libcsupport.h>
#include <rtems/libio.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*-------------------------------------------------------------------------+
| Global Variables
+--------------------------------------------------------------------------*/
@@ -118,14 +114,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /* Initialize the stack bounds checker. We can either turn it on here or from
- the app. */
-
- Stack_check_Initialize();
-
-#endif /* STACK_CHECKER_ON */
-
#ifdef RTEMS_DEBUG
rtems_debug_enable(RTEMS_DEBUG_ALL_MASK);
diff --git a/c/src/lib/libbsp/i960/cvme961/startup/bspstart.c b/c/src/lib/libbsp/i960/cvme961/startup/bspstart.c
index 725817ae79..a9c89819b1 100644
--- a/c/src/lib/libbsp/i960/cvme961/startup/bspstart.c
+++ b/c/src/lib/libbsp/i960/cvme961/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -96,15 +92,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
index 000f0b0004..04287c82db 100644
--- a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
@@ -27,9 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
/*
* The original table from the application and our copy of it with
* some changes.
@@ -94,15 +91,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
index ada1700cc1..334705c4a3 100644
--- a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
@@ -26,10 +26,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -102,15 +98,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
index ed4ffd8712..6b53e5fc11 100644
--- a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
@@ -26,10 +26,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -107,15 +103,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
index 4c027b7f38..fbb787dbb3 100644
--- a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -102,15 +98,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
index 8546370ee1..8d5ded3b37 100644
--- a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -98,15 +94,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
index d75d223af3..9213a1442e 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
unsigned char *duart_base;
extern struct duart_regs duart_info;
@@ -103,15 +99,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
index 41ea519cd1..4f788eb5de 100644
--- a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
@@ -28,10 +28,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -96,15 +92,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
index adf5fa48c0..84089c17c8 100644
--- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
@@ -31,10 +31,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -99,15 +95,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
index 8137e1e9f0..41d65d9ed3 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
@@ -31,10 +31,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -99,15 +95,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
index f0af7dca97..5fee790444 100644
--- a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
@@ -35,10 +35,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -103,15 +99,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
index 03caa34253..e2d777b326 100644
--- a/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -103,15 +99,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/mips/p4000/startup/bspstart.c b/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
index b57ad9136a..9df5b4e435 100644
--- a/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
@@ -35,10 +35,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -113,15 +109,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c b/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c
index b57ad9136a..9df5b4e435 100644
--- a/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c
@@ -35,10 +35,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -113,15 +109,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c b/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c
index b1e3588fa4..4a7829eab5 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c
@@ -27,10 +27,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -103,15 +99,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c b/c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c
index 7905d1258f..dc4e8c1f67 100644
--- a/c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c
@@ -44,10 +44,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -121,15 +117,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c
index f1f407ddef..e5ce965b43 100644
--- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c
@@ -26,10 +26,6 @@
#include <string.h>
#include <fcntl.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -185,16 +181,6 @@ void bsp_pretasking_hook(void)
}
#endif
-
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
index 74431d0f7b..72c2ec8bf0 100644
--- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
@@ -37,10 +37,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -106,15 +102,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
index e58369b362..6c5e466889 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
@@ -32,10 +32,6 @@
#include <string.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
/*
* The original table from the application and our copy of it with
* some changes.
@@ -186,16 +182,6 @@ void bsp_pretasking_hook(void)
}
#endif
-
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c
index 5a86555b63..11b9b67e19 100644
--- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c
+++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c
@@ -36,10 +36,6 @@
#include <rtems/libio.h>
-#ifdef STACK_CHECKER_ON
-#include <stackchk.h>
-#endif
-
extern rtems_configuration_table Configuration;
/*
@@ -153,15 +149,6 @@ bsp_pretasking_hook(void)
{
bsp_libc_init();
-#ifdef STACK_CHECKER_ON
- /*
- * Initialize the stack bounds checker
- * We can either turn it on here or from the app.
- */
-
- Stack_check_Initialize();
-#endif
-
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif