[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] OSX x86_64 host support v2
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH] OSX x86_64 host support v2 |
Date: |
Sat, 12 Jan 2008 22:34:38 +0100 |
Hi,
this is an updated version of the very same patch which fixes a major
issue that kept interrupts from working and updated to apply to
current CVS.
Using this patch Leopard is capable of running qemu really fast.
While at it x86_64 Linux gcc4 support should be fixed with this as
well, as Mac OS X x86_64 requires gcc4.
Please apply,
Alex
qemu-osx.patch
Description: Binary data
On Dec 7, 2007, at 1:42 PM, Alexander Graf wrote:
Hi,
this patch enables qemu to run on x86_64. I tested it with gcc-4.2
from the apple opensource page and OSX 10.5.1 on a Care2Duo based
Macbook.
Parts of the Mach-O parsing code is based on the i386 parser from
the Q project. Thank you.
Right now there is no graphical output available except for VNC, as
the cocoa output depends on deprecated APIs that are no longer
available in 64-bit mode and SDL does not compile on x86_64 Darwin
yet.
Please review this patch if it breaks anything. I tried to ifdef
every change I did.
Furthermore, what does tb_jump_reset do? It always sets the jump
target to tb+0xffff, as the offset variable is never set to any
value other than 0xffff. I'm pretty sure someone is quite broken
there and I'm currently jumping to TBs that are invalidated.
Comments on this are really welcome.
PS: 64-Bit capable Macs are always at least Core2Duo, so do an "--
enable-cflags=-march=core2". Should we enable this by default?
Cheers,
Alexander Graf<qemu-osx.patch>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] OSX x86_64 host support v2,
Alexander Graf <=