aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:36:04 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-11-07 10:36:04 +0000
commitd84bda46de13c7d1536545fb44c8e9341054094a (patch)
treece07f90a8ff96475ba558c3f0bec18746e51a0c6 /target-ppc/helper.c
parent44a9935465b1cd79547807a431232177362ef43e (diff)
PPC: rename cpu_ppc_reset to cpu_reset for consistency
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 084d36f78b..8d383e0d5a 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -2748,9 +2748,8 @@ void cpu_dump_rfi (target_ulong RA, target_ulong msr)
TARGET_FMT_lx "\n", RA, msr);
}
-void cpu_ppc_reset (void *opaque)
+void cpu_reset(CPUPPCState *env)
{
- CPUPPCState *env = opaque;
target_ulong msr;
if (qemu_loglevel_mask(CPU_LOG_RESET)) {
@@ -2812,7 +2811,7 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model)
env->cpu_model_str = cpu_model;
cpu_ppc_register_internal(env, def);
#if defined(CONFIG_USER_ONLY)
- cpu_ppc_reset(env);
+ cpu_reset(env);
#endif
qemu_init_vcpu(env);