aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-07-18 13:42:12 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2019-08-21 17:17:12 +1000
commit3a6e6224a9d8f9637890e9beab14fa63eaf67937 (patch)
treeb37eb4c062ceab229fea862b5d03ceea80336748 /include
parent03ef074c04a219188bbd0094ee599bd50a0a374e (diff)
downloadqemu-3a6e6224a9d8f9637890e9beab14fa63eaf67937.zip
qemu-3a6e6224a9d8f9637890e9beab14fa63eaf67937.tar.gz
qemu-3a6e6224a9d8f9637890e9beab14fa63eaf67937.tar.bz2
spapr: Implement H_PROD
H_PROD is added, and H_CEDE is modified to test the prod bit according to PAPR. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-Id: <20190718034214.14948-3-npiggin@gmail.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr_cpu_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_cpu_core.h b/include/hw/ppc/spapr_cpu_core.h
index 35e0a7e..1c4cc65 100644
--- a/include/hw/ppc/spapr_cpu_core.h
+++ b/include/hw/ppc/spapr_cpu_core.h
@@ -46,6 +46,7 @@ typedef struct SpaprCpuState {
uint64_t vpa_addr;
uint64_t slb_shadow_addr, slb_shadow_size;
uint64_t dtl_addr, dtl_size;
+ bool prod; /* not migrated, only used to improve dispatch latencies */
struct ICPState *icp;
struct XiveTCTX *tctx;
} SpaprCpuState;