qemu/QEMU — pull request #2 by SamB (2012-07-31 02:10:48+00:00)
Title: Darwin fixes

Allows QEMU to be compiled for Mac OS X 10.5 using the headers from Xcode 3.1.4.

Includes changes that allow the darwin-user port to be compiled with current QEMU code, and updates it to handle things that have changed in the 10.5 SDK.

The darwin-user port doesn't appear to actually do anything useful yet, though, due to memory layout issues; the i386 port is failing to map the commpage on my PPC, and the ppc port can't run real programs either because:

1. The QEMU executable is at origin 0x1000, just like practically everything you would want to run.

2. QEMU can't even load dyld, since there is already a dyld there.

(And that's just the ones I was able to hit right away...)