summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-19 20:09:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-19 20:09:33 +0000
commitba2adf540ec8aa5455d09c729c948f9b6742e42e (patch)
treedfc09609fc663177416156de02181ef4dff21ab9 /c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
parentMoved sys/ioctl.h to libc support (diff)
downloadrtems-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.c2
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();
}
/*