mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 13:01:52 -06:00
This patch adds little-endian mode support to PPC emulation.
This is needed by OS/2 and Windows NT and some programs like VirtualPC. This patch has been tested using OS/2 bootloader (thanks to Tero Kaarlela). (Jocelyn Mayer) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1379 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c7d344af8f
commit
111bfab3b5
5 changed files with 334 additions and 30 deletions
|
@ -364,7 +364,8 @@ int cpu_exec(CPUState *env1)
|
|||
cs_base = env->npc;
|
||||
pc = env->pc;
|
||||
#elif defined(TARGET_PPC)
|
||||
flags = (msr_pr << MSR_PR) | (msr_fp << MSR_FP) | (msr_se << MSR_SE);
|
||||
flags = (msr_pr << MSR_PR) | (msr_fp << MSR_FP) |
|
||||
(msr_se << MSR_SE) | (msr_le << MSR_LE);
|
||||
cs_base = 0;
|
||||
pc = env->nip;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue