[PATCH 11/23] bsp/mvme167: Do not provide user extensions table
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:33 UTC 2012
The application should use confdefs.h to set up the initial user
extensions. The bsp_fatal_error_occurred() handler is available via
<fatal.h>.
---
c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
index 1609288..441c8eb 100644
--- a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
@@ -20,9 +20,6 @@
#include <page_table.h>
#include <fatal.h>
-/* XXX If RTEMS let the BSP replace the default fatal error handler... */
-rtems_extensions_table user_extension_table;
-
void M68KFPSPInstallExceptionHandlers (void);
extern rtems_isr_entry M68Kvec[];
@@ -92,14 +89,4 @@ void bsp_start( void )
* Initialize address translation
*/
page_table_init();
-
- /*
- * If the application has not overriden the default User_extension_table,
- * supply one with our own fatal error handler that returns control to
- * 167Bug.
- */
- if ( Configuration.User_extension_table == NULL ) {
- user_extension_table.fatal = bsp_fatal_error_occurred;
- Configuration.User_extension_table = &user_extension_table;
- }
}
--
1.7.7
More information about the devel
mailing list