ppc64: set MSR_SF bit
When a qemu-system-ppc64 is started, the 64-bit mode bit is not set in MSR. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2538039f2c
commit
8b9f2118ca
@ -9703,7 +9703,7 @@ static void ppc_cpu_reset(CPUState *s)
|
||||
|
||||
#if defined(TARGET_PPC64)
|
||||
if (env->mmu_model & POWERPC_MMU_64) {
|
||||
env->msr |= (1ULL << MSR_SF);
|
||||
msr |= (1ULL << MSR_SF);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user