[rtems commit] bsp/mvme167: Do not provide user extensions table

Sebastian Huber sebh at rtems.org
Wed Nov 7 14:07:15 UTC 2012


Module:    rtems
Branch:    master
Commit:    c082e633e5ccb3aa7c75ea6c99fcf902886baa93
Changeset: http://git.rtems.org/rtems/commit/?id=c082e633e5ccb3aa7c75ea6c99fcf902886baa93

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov  6 11:52:44 2012 +0100

bsp/mvme167: Do not provide user extensions table

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;
-  }
 }




More information about the vc mailing list