diff options
author | Cédric Le Goater | 2019-01-02 06:57:36 +0100 |
---|---|---|
committer | David Gibson | 2019-01-08 23:28:14 +0100 |
commit | 3ff73aa24125f18b3d1b24423213cc7d63a11f90 (patch) | |
tree | dd75d6dba663a516fff478ebd2dd5b69611b6393 /target/ppc | |
parent | ppc/xive: introduce a XiveTCTX pointer under PowerPCCPU (diff) | |
download | qemu-3ff73aa24125f18b3d1b24423213cc7d63a11f90.tar.gz qemu-3ff73aa24125f18b3d1b24423213cc7d63a11f90.tar.xz qemu-3ff73aa24125f18b3d1b24423213cc7d63a11f90.zip |
ppc: replace the 'Object *intc' by a 'ICPState *icp' pointer under the CPU
Now that the 'intc' pointer is only used by the XICS interrupt mode,
let's make things clear and use a XICS type and name.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 64e94fd83c..486abaf99b 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -1178,6 +1178,7 @@ do { \ typedef struct PPCVirtualHypervisor PPCVirtualHypervisor; typedef struct PPCVirtualHypervisorClass PPCVirtualHypervisorClass; typedef struct XiveTCTX XiveTCTX; +typedef struct ICPState ICPState; /** * PowerPCCPU: @@ -1196,7 +1197,7 @@ struct PowerPCCPU { int vcpu_id; uint32_t compat_pvr; PPCVirtualHypervisor *vhyp; - Object *intc; + ICPState *icp; XiveTCTX *tctx; void *machine_data; int32_t node_id; /* NUMA node this CPU belongs to */ |