mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
129dbe6926
commit
3ff73aa241
7 changed files with 17 additions and 16 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue