qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Patch] Mac OS X Port


From: Pierre d'Herbemont
Subject: [Qemu-devel] [Patch] Mac OS X Port
Date: Sat, 3 Jul 2004 00:56:06 +0200

Hi!

Here is a patch against the Qemu CVS makes Mac OS X able to run Qemu. It was mainly done by Matt Reda and I. Now Qemu/Mac OS X is able to boot the linux-test image, the freedos image, the netbsd image and even the ReactOS image from the FreeOSZoo.

If you have any question feel free to ask myself or Matt Reda.

Here is a summary of the modifications:

configure:
- Darwin/Mac OS X Support

Makefile*:
- Support for various Mac OS X Specific flags.

cpu-all.h:
- host_page_size is already a system symbol, so its better to change it.

cpu-exec.h:
- support for Mac OS X signals.

dyngen-exec.h:
- various fixes for Mac OS X.

dyngen.c:
- Mach-O port.

exec-all.h:
- Mach-O support.

exec.c:
- host_page_size related changes.

oss.c:
- ifdef out for Mac OS X.

sdl.c:
- keyboard support. Probably need a review.

vl.c:
- inclusion of <SDL/SDL.h> required for Mac OS X build
- use valloc instead of malloc for correctness
- define rtc_fd for darwin

linux-user/elfload.c:
- preliminary support for darwin, fix for host_page_size related changes.

linux-user/main.c:
- preliminary support for darwin, fix for host_page_size related changes.

linux-user/syscall.c:
- preliminary support for darwin.

slirp/slirp_config.h:
- support for Mac OS X.

target-i386/exec.h:
- fix correctness for symbols definitions f15rk,parity_table,rclw_table,rclb_table

target-i386/op.c:
- don't do the bsd rounding mode on Mac OS X

Thanks,

Pierre

Attachment: qemuosx.diff
Description: Binary data


reply via email to

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