OSDN Git Service

PPC: Add CPU local MMIO regions to MPIC
authorAlexander Graf <agraf@suse.de>
Wed, 20 Jul 2011 23:33:29 +0000 (01:33 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:43:33 +0000 (09:43 +0200)
commit704c7e5d0f473bf6f268b18fdaada40e4b7ca964
tree8601f700ac06287a301e2bd1f30d7d96aa5f18a1
parentd751dfb313d3fd4feca60e305dd9904fec189d3f
PPC: Add CPU local MMIO regions to MPIC

The MPIC exports a register set for each CPU connected to it. They can all
be accessed through specific registers or using a shadow page that is mapped
differently depending on which CPU accesses it.

This patch implements the shadow map, making it possible for guests to access
the CPU local registers using the same address on each CPU.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c