diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-01-19 20:09:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-01-19 20:09:33 +0000 |
commit | ba2adf540ec8aa5455d09c729c948f9b6742e42e (patch) | |
tree | dfc09609fc663177416156de02181ef4dff21ab9 /c/src/lib/libbsp/sparc/erc32/startup/bspstart.c | |
parent | Moved sys/ioctl.h to libc support (diff) | |
download | rtems-ba2adf540ec8aa5455d09c729c948f9b6742e42e.tar.bz2 |
Patch from Jiri Gaisler <jgais@ce.chalmers.se>:
getting the spurious trap handling to work required a couple more
fixes - I have attached a patch against rtems-4.0.0 with the
necessary changes. I also added functionality so that the
address of the trapped instruction is reported and in case of
a data access error, the data address is also reported.
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/bspstart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c index 0219dfeccc..d314ff3050 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c +++ b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c @@ -103,6 +103,7 @@ rtems_extension fast_idle_switch_hook( void bsp_postdriver_hook(void); void bsp_libc_init( void *, unsigned32, int ); +extern void bsp_spurious_initialize(); /* * bsp_pretasking_hook @@ -161,6 +162,7 @@ void bsp_pretasking_hook(void) rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); #endif + bsp_spurious_initialize(); } /* |