aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/cpu_init.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@linux.ibm.com>2022-02-18 08:34:15 +0100
committerCédric Le Goater <clg@kaod.org>2022-02-18 08:34:15 +0100
commit99e964ef955e9cd0c1dd0ebe3e432bee8f576eee (patch)
tree922769980a0a19578014c49e5cbe307b0bd18077 /target/ppc/cpu_init.c
parent2a48d83dfd74a6c15a758039313a4a7cf82be2d3 (diff)
downloadqemu-99e964ef955e9cd0c1dd0ebe3e432bee8f576eee.zip
qemu-99e964ef955e9cd0c1dd0ebe3e432bee8f576eee.tar.gz
qemu-99e964ef955e9cd0c1dd0ebe3e432bee8f576eee.tar.bz2
target/ppc: Rename spr_tcg.h to spr_common.h
Initial intent for the spr_tcg header was to expose the spr_read|write callbacks that are only used by TCG code. However, although these routines are TCG-specific, the KVM code needs access to env->sprs which creation is currently coupled to the callback registration. We are probably not going to decouple SPR creation and TCG callback registration any time soon, so let's rename the header to spr_common to accomodate the register_*_sprs functions that will be moved out of cpu_init.c in the following patches. Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Message-Id: <20220216162426.1885923-24-farosas@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'target/ppc/cpu_init.c')
-rw-r--r--target/ppc/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c
index 452dbdd..f0bbe34 100644
--- a/target/ppc/cpu_init.c
+++ b/target/ppc/cpu_init.c
@@ -44,7 +44,7 @@
#include "helper_regs.h"
#include "internal.h"
-#include "spr_tcg.h"
+#include "spr_common.h"
#include "power8-pmu.h"
/* #define PPC_DEBUG_SPR */