Re: RFC/patch 2/3 portability: move x86 emulation and mmio device hook to x86.c

Hollis Blanchard
2007-10-31T15:32:49Z

On Wed, 2007-10-31 at 02:24 +0200, Avi Kivity wrote:
>
> For x86 there are two kinds of mmio devices: one is the expected
> system-wide mmio, and the other is mmio that depends not only on the
> address, but also on which cpu originated the request. This type is
> only needed for the local apic.
>
> Is the second type also useful for ppc?

Actually yes. At least OpenPIC (one of a variety of interrupt
controllers used on PowerPC systems) has per-CPU registers:
A copy of each of these registers will be available to each CPU
at the same physical address.

--
Hollis Blanchard
IBM Linux Technology Center