ppc: remove dead code
PATCH 1/1 ppc: remove dead code
From: Thomas Monjalon <[email protected]>
This function had been disabled from the beginning:
see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5
cpu_reset() function is in target-ppc/helper.c
Signed-off-by Thomas Monjalon <[email protected]>
--- hw/ppc.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)
hw/ppc.c +0 -10
@@ -1085,16 +1085,6 @@ int ppc_dcr_init (CPUState *env, int (*read_error)(int dcrn),return 0 ; } -#if 0 -/*****************************************************************************/ -/* Handle system reset (for now, just stop emulation) */ -void cpu_reset (CPUState *env) -{ -printf ("Reset asked... Stop emulation\n" ); -abort (); -} -#endif -/*****************************************************************************/ /* Debug port */ void PPC_debug_write (void *opaque,uint32_t addr,uint32_t val)
Signature · 1 line
1.7.0.5
Quoted 8 lines · Thomas Monjalon
From: Thomas Monjalon <[email protected]>
This function had been disabled from the beginning:
see9fddaa0c0cabb610947146a79b4a9a38b0a216e5
cpu_reset()function is intarget-ppc/helper.cSigned-off-by Thomas Monjalon <[email protected]>
Acked-by Alexander Graf <[email protected]>
Alex
Aurelien Jarno
AppliedQuoted 8 lines · Thomas Monjalon
From: Thomas Monjalon <[email protected]>
This function had been disabled from the beginning:
see9fddaa0c0cabb610947146a79b4a9a38b0a216e5
cpu_reset()function is intarget-ppc/helper.cSigned-off-by Thomas Monjalon <[email protected]>
Thanks, applied.
Quoted 33 lines
--- hw/ppc.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)hw/ppc.c +0
-10@@ -1085,16 +1085,6 @@ int ppc_dcr_init (CPUState *env, int (*read_error)(int dcrn),return 0 ; } -#if 0 -/*****************************************************************************/ -/* Handle system reset (for now, just stop emulation) */ -void cpu_reset (CPUState *env) -{ -printf ("Reset asked... Stop emulation\n" ); -abort (); -} -#endif -/*****************************************************************************/ /* Debug port */ void PPC_debug_write (void *opaque,uint32_t addr,uint32_t val)Signature · 1 line
1.7.0.5
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net