diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:36:04 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:36:04 +0000 |
commit | d84bda46de13c7d1536545fb44c8e9341054094a (patch) | |
tree | ce07f90a8ff96475ba558c3f0bec18746e51a0c6 /target-ppc | |
parent | 44a9935465b1cd79547807a431232177362ef43e (diff) |
PPC: rename cpu_ppc_reset to cpu_reset for consistency
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/cpu.h | 2 | ||||
-rw-r--r-- | target-ppc/helper.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index f1d7d808f0..2535cbc0c5 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -734,8 +734,6 @@ void ppc_store_sr (CPUPPCState *env, int srnum, target_ulong value); #endif /* !defined(CONFIG_USER_ONLY) */ void ppc_store_msr (CPUPPCState *env, target_ulong value); -void cpu_ppc_reset (void *opaque); - void ppc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); const ppc_def_t *cpu_ppc_find_by_name (const char *name); 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); |