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/exec/score/cpu/sparc/cpu.h | |
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/exec/score/cpu/sparc/cpu.h')
-rw-r--r-- | c/src/exec/score/cpu/sparc/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/sparc/cpu.h b/c/src/exec/score/cpu/sparc/cpu.h index 592a3a438f..cf50f035d6 100644 --- a/c/src/exec/score/cpu/sparc/cpu.h +++ b/c/src/exec/score/cpu/sparc/cpu.h @@ -472,7 +472,7 @@ typedef struct { unsigned32 i6_fp; unsigned32 i7; unsigned32 y; - unsigned32 pad0_offset; + unsigned32 tpc; } CPU_Interrupt_frame; #endif /* ASM */ @@ -501,7 +501,7 @@ typedef struct { #define ISF_I6_FP_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x40 #define ISF_I7_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x44 #define ISF_Y_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x48 -#define ISF_PAD0_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x4c +#define ISF_TPC_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x4c #define CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE CPU_MINIMUM_STACK_FRAME_SIZE + 0x50 #ifndef ASM |