From 60d39b66e0660de4849a17885813d26a2bc374e7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 20 Jan 2015 14:01:50 +0100 Subject: powerpc: Fix AltiVec VSCR save/restore --- cpukit/score/cpu/powerpc/rtems/score/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/score/cpu/powerpc/rtems') diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 98aa4e4bf3..c305c77d1b 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -1197,8 +1197,11 @@ typedef struct { uint32_t reserved_for_alignment; #endif #ifdef PPC_MULTILIB_ALTIVEC - uint32_t VSCR; uint32_t VRSAVE; + + /* This field must take stvewx/lvewx requirements into account */ + uint32_t VSCR; + uint8_t V0[16]; uint8_t V1[16]; uint8_t V2[16]; -- cgit v1.2.3