[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 19/22] ppc: move misc helpers from helper.c to misc_he
From: |
Blue Swirl |
Subject: |
[Qemu-ppc] [PATCH 19/22] ppc: move misc helpers from helper.c to misc_helper.c |
Date: |
Sun, 22 Apr 2012 13:25:57 +0000 |
Move more misc helpers from helper.c to misc_helper.c.
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 08a758b..ad6a6d4 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);
-}
-
void cpu_state_reset(CPUPPCState *env)
{
cpu_reset(ENV_GET_CPU(env));
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.10
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-ppc] [PATCH 19/22] ppc: move misc helpers from helper.c to misc_helper.c,
Blue Swirl <=