aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-05-26 15:04:05 +1000
committerNicholas Piggin <npiggin@gmail.com>2024-07-26 09:21:06 +1000
commit060e61436794d13ede9a1d0eb2b1d0cf3b7cfcfd (patch)
tree745df513f297af929773207ad83a78bed9378809 /include/hw/ppc
parent7f516cdeef6d62e78ee769855dff95666e6b8c1d (diff)
downloadqemu-060e61436794d13ede9a1d0eb2b1d0cf3b7cfcfd.zip
qemu-060e61436794d13ede9a1d0eb2b1d0cf3b7cfcfd.tar.gz
qemu-060e61436794d13ede9a1d0eb2b1d0cf3b7cfcfd.tar.bz2
ppc/pnv: Add pointer from PnvCPUState to PnvCore
This helps move core state from CPU to core structures. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/pnv_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv_core.h b/include/hw/ppc/pnv_core.h
index c6d62fd..29cab9d 100644
--- a/include/hw/ppc/pnv_core.h
+++ b/include/hw/ppc/pnv_core.h
@@ -54,6 +54,7 @@ struct PnvCoreClass {
#define PNV_CORE_TYPE_NAME(cpu_model) cpu_model PNV_CORE_TYPE_SUFFIX
typedef struct PnvCPUState {
+ PnvCore *pnv_core;
Object *intc;
} PnvCPUState;