summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/start/start.S
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/start/start.S
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/start/start.S')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/start/start.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/start/start.S b/c/src/lib/libbsp/sparc/erc32/start/start.S
index 6097c4ab36..960dd9618d 100644
--- a/c/src/lib/libbsp/sparc/erc32/start/start.S
+++ b/c/src/lib/libbsp/sparc/erc32/start/start.S
@@ -136,7 +136,10 @@ __ERC32_MEC_Timer_Control_Mirror:
BAD_TRAP; BAD_TRAP; ! 7C - 7D undefined
_CLOCK_SPEED:
- BAD_TRAP; BAD_TRAP; ! BAD_TRAP; BAD_TRAP; ! 7E - 7F undefined
+
+ .word 0x0a, 0, 0, 0 ! 7E (10 MHz default)
+
+ BAD_TRAP; ! 7F undefined
/*
* Software traps