From: Alexander Graf <alex@csgraf.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/9] Intel Mac target support
Date: Tue, 08 Jan 2008 16:22:27 +0100 [thread overview]
Message-ID: <47839533.7060109@csgraf.de> (raw)
Hi,
the following patchset enables qemu to run Mac OS X with disabled
AppleIntelCPUPowerManagement.kext, by emulating hardware that resembles
an Intel Mac close enough. The following patches are included:
1. DMI
This is based on the DMI support by Ryan Harper. As it is currently
unclear, if this approach is taken or if the Bochsbios is going to be
patched, I would recommend to not apply this patch for now. I still
submit it for completeness and because I have touched parts of it.
2. HPET
This adds an HPET emulator device. It is not feature-complete but should
suffice for this purpose.
3. LPC
This adds a dummy LPC device the HPET is located on.
4. AppleSMC
Apples binary protection sits in the fan control, which is the AppleSMC
chip. This emulates the devices and takes the protective key from the
command line.
5. CoreDUO
Mac OS X as is has a condition to only run on family 13 Intel CPUs, so
this adds a definition for a CoreDuo CPU and an MSR as well as a CPUID
instruction that is required by Mac OS X
6. IDE
The oldest supported IDE controller in Mac OS X is the ICH6. This is an
incomplete implementation for that controller, that suffices for running
Mac OS X and worked with libata for me as well.
7. IntelMac
To leave the default behavior unchanged, this adds a "mac" machine
definition that automatically chooses the right hardware for an emulated
Intel Mac.
8. Multiboot
To boot Mac OS X a mach bootloader has to be run. David Elliot modified
the original i386 Mac OS X BIOS based bootloader to emulate the EFI
entries and support multiboot, an easy but straight-forward kernel
loading interface founded by grub. To boot multiboot-compliant kernels
directly, this adds support for multiboot loading to the -kernel option.
9. Bochsbios
Several ACPI entries were missing from the bios and the new controllers
need to be initialized properly.
This patch is against the bochsbios. Should this rather be sent to the
bochs ML?
For details, instructions and the bootloader please see
http://alex.csgraf.de/self/?qemu/
Cheers,
Alex
next reply other threads:[~2008-01-08 15:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 15:22 Alexander Graf [this message]
2008-01-11 8:01 ` [Qemu-devel] [PATCH 0/9] Intel Mac target support Alexey Eremenko
2008-01-11 12:26 ` Alexander Graf
2008-01-11 15:35 ` Markus Hitter
2008-01-13 7:22 ` Alexey Eremenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47839533.7060109@csgraf.de \
--to=alex@csgraf.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).