Received: from eggs.gnu.org ([208.118.235.92]:37898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiZQy-0007OQ-5a for qemu-devel@nongnu.org; Sat, 23 Jun 2012 19:08:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiZQq-0002Hj-8d for qemu-devel@nongnu.org; Sat, 23 Jun 2012 19:08:03 -0400 From: Alexander Graf Date: Sun, 24 Jun 2012 01:06:43 +0200 Message-Id: <1340492856-21126-20-git-send-email-agraf@suse.de> In-Reply-To: <1340492856-21126-1-git-send-email-agraf@suse.de> References: <1340492856-21126-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 19/72] ppc: Move misc helpers from helper.c to misc_helper.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: Blue Swirl , qemu-ppc Mailing List , =?utf-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno From: Blue Swirl Move more misc helpers from helper.c to misc_helper.c. Signed-off-by: Blue Swirl Signed-off-by: Alexander Graf Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Alexander Graf --- 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 24d109d..48b19a7 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -23,15 +23,6 @@ #include "kvm_ppc.h" #include "cpus.h" =20 -/***********************************************************************= ******/ -/* 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 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); +} --=20 1.6.0.2