From 9b64c2d5f7d6875cc20552b0ff3bc55cdc7d60d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 15 Apr 1998 00:10:03 +0000 Subject: 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. --- c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c | 12 ------------ c/src/lib/libbsp/m68k/efi332/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/idp/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c | 13 ------------- c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c | 13 ------------- 11 files changed, 142 deletions(-) (limited to 'c/src/lib/libbsp/m68k') 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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -#ifdef STACK_CHECKER_ON -#include -#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 -- cgit v1.2.3