diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-18 14:34:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-18 14:56:43 +0100 |
commit | 8dc2e7bd7e27f16a461ae7c488a5682ff7811838 (patch) | |
tree | c0154b1ce7a0350085bb045f8e05837a33c9177e /cpukit/score/cpu/powerpc/ppc-context-validate.S | |
parent | score: Objects_Information::extract visibility (diff) | |
download | rtems-8dc2e7bd7e27f16a461ae7c488a5682ff7811838.tar.bz2 |
powerpc: Do not validate reserved XER bits
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/powerpc/ppc-context-validate.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/powerpc/ppc-context-validate.S b/cpukit/score/cpu/powerpc/ppc-context-validate.S index 65f78c594c..ecf84d6eb8 100644 --- a/cpukit/score/cpu/powerpc/ppc-context-validate.S +++ b/cpukit/score/cpu/powerpc/ppc-context-validate.S @@ -82,7 +82,7 @@ _CPU_Context_validate: mtlr r4 addi r4, r3, 26 mtctr r4 - addi r4, r3, 27 + rlwinm r4, r3, 0, 25, 2 mtxer r4 addi r0, r3, 28 @@ -215,7 +215,7 @@ check: mfctr r5 cmpw r4, r5 bne restore - addi r4, r3, 27 + rlwinm r4, r3, 0, 25, 2 mfxer r5 cmpw r4, r5 bne restore |