qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] SunOS 4.x support
@ 2007-03-08 22:53 Peter Creath
  0 siblings, 0 replies; only message in thread
From: Peter Creath @ 2007-03-08 22:53 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

Old versions of SunOS don't understand the "Sun4m with OBP" machine
type of 0x80.  They expect the machine type of actual Sun machines,
e.g., 0x71 or 0x72.  This patch adds a machine type to the Sparc
target and renames the old machine to clarify that it's emulating an
OBP platform rather than standard hardware.

The default behavior (without a -M flag) will be the same (using
machine type of 0x80/OBP), but the explicit name for the OBP platform
is now "sun4m-obp".  Plain old "sun4m" mimics real hardware.

This patch doesn't make SunOS 4.x boot completely under qemu, as both
machines still use OpenBIOS as their boot rom, and there are a bunch
of OpenBIOS incompatibilies with SunOS.  I've submitted a patch to fix
a number of them to the OpenBIOS mailing list, but there are still
some glitches keeping the machine from booting.

But this patch is necessary to boot SunOS 4.x.

[-- Attachment #2: qemu-sunos.patch.gz --]
[-- Type: application/x-gzip, Size: 860 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-08 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 22:53 [Qemu-devel] [PATCH] SunOS 4.x support Peter Creath

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).