[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] OSX x86_64 host support

From: Alexander Graf
Subject: [Qemu-devel] [PATCH] OSX x86_64 host support
Date: Fri, 7 Dec 2007 13:42:49 +0100


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?


Alexander Graf

Attachment: qemu-osx.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]