[rtems commit] powerpc: Fix PPC_CONTEXT_VOLATILE_SIZE

Sebastian Huber sebh at rtems.org
Mon Mar 6 10:17:01 UTC 2017


Module:    rtems
Branch:    master
Commit:    f61195b2f985efbfb645f37860a70c8af52619b4
Changeset: http://git.rtems.org/rtems/commit/?id=f61195b2f985efbfb645f37860a70c8af52619b4

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Mar  6 11:16:25 2017 +0100

powerpc: Fix PPC_CONTEXT_VOLATILE_SIZE

---

 cpukit/score/cpu/powerpc/rtems/score/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index a847667..f9a43b1 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -400,7 +400,7 @@ static inline ppc_context *ppc_get_context( const Context_Control *context )
 #elif defined(PPC_MULTILIB_ALTIVEC)
   #define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_OFFSET_VRSAVE + 4)
 #else
-  #define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_GPR_OFFSET( 32 ) + 4)
+  #define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_GPR_OFFSET( 32 ) + 8)
 #endif
 
 #ifdef RTEMS_SMP



More information about the vc mailing list