[Top][All Lists]

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

Re: [Qemu-devel] [ADD] PPC processor emulation

From: Jocelyn Mayer
Subject: Re: [Qemu-devel] [ADD] PPC processor emulation
Date: 18 Nov 2003 21:44:47 +0100

On Tue, 2003-11-18 at 21:24, Raymond W.Lucke IV wrote:
> Hmm...
> My goal is not necessarily to run Linux binaries directly on Darwin, 
> that would truly mean doing Linux syscall emulation. But from what I 
> understand, trying to make vl would actually be in a number of ways 
> much simpler, since it does not translate syscalls one by one, but 
> instead the operating system being executed handles it's own, and calls 
> virtual hardware provided by vl.
> Ray

Well, you're right, in some way:
there is no syscall emulation to do for vl. But you have to emulate
a machine that looks like a real one. I think most of the softmmu code
for ix86 could be re-used for PPC and that peripheral emulation could be
separated into hardware emulation, independant from the target, and 
bus-glue, which defines how the device will be accessed for a given
target. I think that trying to have some code to emulate a CHRP or a
PREP machine would be a good start, but we _need_ PCI for those targets.
But, if we get one of those hardware emulated, with improvements for
the CPU emulation to handle supervisor instructions and exceptions,
we would be able to try to boot AIX, Linux, maybe AUX & old MacOSes.

It would be great to do this !

In my opinion, the hardest points are: PPC emulation improvement,
cleaning the current vl code to separate x86 dedicated parts from
generic ones and PCI. But I don't think we have to worry about PCI: x86
emulation will need it too :=)

Jocelyn Mayer <address@hidden>
Never organized

reply via email to

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