[OpenBIOS] [PATCH 2/4] ppc64: Don't disable SF bit
Andreas Färber
andreas.faerber at web.de
Mon Nov 1 21:56:54 CET 2010
Don't clear the MSR for the pure ppc64 version since it would disable
Sixty Four bit mode as well.
The MMU is supposed to be disabled by default.
Cc: Alexander Graf <agraf at suse.de>
Signed-off-by: Andreas Färber <andreas.faerber at web.de>
---
arch/ppc/qemu/start.S | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/ppc/qemu/start.S b/arch/ppc/qemu/start.S
index 3ee59d7..443d668 100644
--- a/arch/ppc/qemu/start.S
+++ b/arch/ppc/qemu/start.S
@@ -268,10 +268,13 @@ GLOBL(__vectors_end):
/************************************************************************/
GLOBL(_entry):
+
+#ifndef __powerpc64__
/* clear MSR, disable MMU */
li r0,0
mtmsr r0
+#endif
/* copy exception vectors */
--
1.7.3
More information about the OpenBIOS
mailing list