From 67baf6071d6e92d9e2c959aa5531b84f4afe8063 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Wed, 14 Mar 2012 13:06:13 -0400 Subject: 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. --- cpukit/score/cpu/sparc64/rtems/score/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/cpu/sparc64/rtems/score') 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 -- cgit v1.2.3