ppc: Move misc helpers from helper.c to misc_helper.c
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>
This commit is contained in:
parent
d523dd00a7
commit
8555f71dcb
@ -23,15 +23,6 @@
|
|||||||
#include "kvm_ppc.h"
|
#include "kvm_ppc.h"
|
||||||
#include "cpus.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_ppc_init(const char *cpu_model)
|
||||||
{
|
{
|
||||||
PowerPCCPU *cpu;
|
PowerPCCPU *cpu;
|
||||||
|
@ -113,3 +113,12 @@ target_ulong helper_clcs(CPUPPCState *env, uint32_t arg)
|
|||||||
break;
|
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);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user