qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 19/20] ppc: move misc helpers from helper.c to misc_


From: Blue Swirl
Subject: [Qemu-devel] [PATCH 19/20] ppc: move misc helpers from helper.c to misc_helper.c
Date: Sat, 31 Mar 2012 16:32:14 +0000

Signed-off-by: Blue Swirl <address@hidden>
---
 target-ppc/helper.c      |    9 ---------
 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 6b3a0cd..b38b5a8 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -25,15 +25,6 @@

 //#define DEBUG_EXCEPTIONS

-/*****************************************************************************/
-/* Special registers manipulation */
-
-/* GDBstub can read and write MSR... */
-void ppc_store_msr(CPUPPCState *env, target_ulong value)
-{
-    hreg_store_msr(env, value, 0);
-}
-
 void cpu_state_reset(CPUPPCState *env)
 {
     target_ulong msr;
diff --git a/target-ppc/misc_helper.c b/target-ppc/misc_helper.c
index b194d19..26edcca 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);
+}
-- 
1.7.9

Attachment: 0019-ppc-move-misc-helpers-from-helper.c-to-misc_helper.c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]