mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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@web.de> Acked-by: Alexander Graf <agraf@suse.de> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@943 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Andreas Färber
parent
f85cd4220b
commit
cb897515cc
@@ -268,10 +268,13 @@ GLOBL(__vectors_end):
|
|||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
GLOBL(_entry):
|
GLOBL(_entry):
|
||||||
|
|
||||||
|
#ifndef __powerpc64__
|
||||||
/* clear MSR, disable MMU */
|
/* clear MSR, disable MMU */
|
||||||
|
|
||||||
li r0,0
|
li r0,0
|
||||||
mtmsr r0
|
mtmsr r0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* copy exception vectors */
|
/* copy exception vectors */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user