[rtems commit] powerpc: Do not validate reserved XER bits
Sebastian Huber
sebh at rtems.org
Mon Nov 18 13:51:00 UTC 2013
Module: rtems
Branch: master
Commit: 8dc2e7bd7e27f16a461ae7c488a5682ff7811838
Changeset: http://git.rtems.org/rtems/commit/?id=8dc2e7bd7e27f16a461ae7c488a5682ff7811838
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Nov 18 14:34:13 2013 +0100
powerpc: Do not validate reserved XER bits
---
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 65f78c5..ecf84d6 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
More information about the vc
mailing list