diff options
author | Gedare Bloom <gedare@rtems.org> | 2012-03-14 13:06:13 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-03-14 13:06:13 -0400 |
commit | 67baf6071d6e92d9e2c959aa5531b84f4afe8063 (patch) | |
tree | f410beef16f1f9d76aa18a3a6529b69a00980121 /cpukit/score/cpu/sparc64/rtems/score | |
parent | bsp/lpc24xx: New BSP variant (diff) | |
download | rtems-67baf6071d6e92d9e2c959aa5531b84f4afe8063.tar.bz2 |
PR2041: sparc64: vector number not included in CPU_Interrupt_frame
Add the trap vector to the interrupt frame. Also rename the assembly
macro that accesses the field to be consistent with similar macros.
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems/score')
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index 105e669285..7be274ca2f 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -519,6 +519,7 @@ typedef struct { uint64_t o5; uint64_t o6_sp; uint64_t o7; + uint64_t tvec; } CPU_Interrupt_frame; #endif /* ASM */ @@ -548,7 +549,7 @@ typedef struct { #define ISF_O5_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x88 #define ISF_O6_SP_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x90 #define ISF_O7_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0x98 -#define ISF_TVEC_NUM CPU_MINIMUM_STACK_FRAME_SIZE + 0xA0 +#define ISF_TVEC_OFFSET CPU_MINIMUM_STACK_FRAME_SIZE + 0xA0 #define CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE CPU_MINIMUM_STACK_FRAME_SIZE + 0xA8 #ifndef ASM |