ppc: Move misc helpers from helper.c to misc_helper.c
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 30 May 2012 04:23:39 +0000 (04:23 +0000)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:43 +0000 (01:04 +0200)
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>
target-ppc/helper.c
target-ppc/misc_helper.c

index 24d109d..48b19a7 100644 (file)
 #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;
index b194d19..26edcca 100644 (file)
@@ -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);
+}