diff options
| author | Cédric Le Goater | 2017-04-03 09:46:03 +0200 |
|---|---|---|
| committer | David Gibson | 2017-04-26 04:00:42 +0200 |
| commit | 960fbd29e56866ff7b1f2c6a24082774fd254bda (patch) | |
| tree | 999628794287e098a6014a6a64a9d2b2bee929b9 /include/exec | |
| parent | ppc/pnv: extend the machine with a InterruptStatsProvider interface (diff) | |
| download | qemu-960fbd29e56866ff7b1f2c6a24082774fd254bda.tar.gz qemu-960fbd29e56866ff7b1f2c6a24082774fd254bda.tar.xz qemu-960fbd29e56866ff7b1f2c6a24082774fd254bda.zip | |
ppc/pnv: create the ICP object under PnvCore
Each thread of a core is linked to an ICP. This allocates a PnvICPState
object before the PowerPCCPU object is realized and lets the XICSFabric
do the store under the 'intc' backlink when xics_cpu_setup() is
called.
This modeling removes the need of maintaining an array of ICP objects
under the PowerNV machine and also simplifies the XICSFabric icp_get()
handler.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
