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/startsis/startsis.S | |
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 '')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startsis/startsis.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startsis/startsis.S b/c/src/lib/libbsp/sparc/erc32/startsis/startsis.S index 6097c4ab36..960dd9618d 100644 --- a/c/src/lib/libbsp/sparc/erc32/startsis/startsis.S +++ b/c/src/lib/libbsp/sparc/erc32/startsis/startsis.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 |