diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-01-02 06:57:35 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-01-09 09:28:14 +1100 |
commit | 129dbe69266a9d5a4c492924a1d4b61a04f4cd7d (patch) | |
tree | 87b82f4d526a4a37047c0948e2ef9ca33e721d3f /target/ppc | |
parent | 8fa1f4ef3828e71bfec1de2934c99e35c25709b6 (diff) | |
download | qemu-129dbe69266a9d5a4c492924a1d4b61a04f4cd7d.zip qemu-129dbe69266a9d5a4c492924a1d4b61a04f4cd7d.tar.gz qemu-129dbe69266a9d5a4c492924a1d4b61a04f4cd7d.tar.bz2 |
ppc/xive: introduce a XiveTCTX pointer under PowerPCCPU
which will be used by the machine only when the XIVE interrupt mode is
in use.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 91951d7..64e94fd 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -1177,6 +1177,7 @@ do { \ typedef struct PPCVirtualHypervisor PPCVirtualHypervisor; typedef struct PPCVirtualHypervisorClass PPCVirtualHypervisorClass; +typedef struct XiveTCTX XiveTCTX; /** * PowerPCCPU: @@ -1196,6 +1197,7 @@ struct PowerPCCPU { uint32_t compat_pvr; PPCVirtualHypervisor *vhyp; Object *intc; + XiveTCTX *tctx; void *machine_data; int32_t node_id; /* NUMA node this CPU belongs to */ PPCHash64Options *hash64_opts; |