[OpenBIOS] [commit] r943 - trunk/openbios-devel/arch/ppc/qemu

repository service svn at openbios.org
Tue Nov 2 23:09:32 CET 2010


Author: afaerber
Date: Tue Nov  2 23:09:31 2010
New Revision: 943
URL: http://tracker.coreboot.org/trac/openbios/changeset/943

Log:
ppc64: Don't disable SF bit

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.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>
Acked-by: Alexander Graf <agraf at suse.de>

Modified:
   trunk/openbios-devel/arch/ppc/qemu/start.S

Modified: trunk/openbios-devel/arch/ppc/qemu/start.S
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/start.S	Tue Nov  2 23:07:27 2010	(r942)
+++ trunk/openbios-devel/arch/ppc/qemu/start.S	Tue Nov  2 23:09:31 2010	(r943)
@@ -268,10 +268,13 @@
 /************************************************************************/
 
 GLOBL(_entry):
+
+#ifndef __powerpc64__
 	/* clear MSR, disable MMU */
 
 	li	r0,0
 	mtmsr	r0
+#endif
 
 	/* copy exception vectors */
 



More information about the OpenBIOS mailing list