diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-05-30 04:23:39 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-06-24 01:04:43 +0200 |
commit | 8555f71dcbbe562429bbb25e0028f71e5741b752 (patch) | |
tree | 85537c0bba0bdc17a3d3809bfc527150d41767fd /target-ppc | |
parent | d523dd00a7d73b28f2e99acf45a4b3f92e56e40a (diff) |
ppc: Move misc helpers from helper.c to misc_helper.c
Move more misc helpers from helper.c to misc_helper.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/helper.c | 9 | ||||
-rw-r--r-- | target-ppc/misc_helper.c | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 24d109d992..48b19a7e1d 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -23,15 +23,6 @@ #include "kvm_ppc.h" #include "cpus.h" -/*****************************************************************************/ -/* Special registers manipulation */ - -/* GDBstub can read and write MSR... */ -void ppc_store_msr(CPUPPCState *env, target_ulong value) -{ - hreg_store_msr(env, value, 0); -} - PowerPCCPU *cpu_ppc_init(const char *cpu_model) { PowerPCCPU *cpu; diff --git a/target-ppc/misc_helper.c b/target-ppc/misc_helper.c index b194d1987d..26edcca2df 100644 --- a/target-ppc/misc_helper.c +++ b/target-ppc/misc_helper.c @@ -113,3 +113,12 @@ target_ulong helper_clcs(CPUPPCState *env, uint32_t arg) break; } } + +/*****************************************************************************/ +/* Special registers manipulation */ + +/* GDBstub can read and write MSR... */ +void ppc_store_msr(CPUPPCState *env, target_ulong value) +{ + hreg_store_msr(env, value, 0); +} |