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 24d109d9925ad8c3bf2d35c9648ebe0f59f794f1..48b19a7e1d164cecf0dbe0ab6461f4b539a58d6a 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 b194d1987dfab61b7662592b80e6eda2a95ea7d3..26edcca2df3e7e88c58839746934f5da1d8e38ac 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);
+}