* [Qemu-devel] [PATCH] ppc: remove dead code
@ 2010-04-21 9:48 Thomas Monjalon
2010-04-21 10:16 ` Alexander Graf
2010-05-18 18:50 ` Aurelien Jarno
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Monjalon @ 2010-04-21 9:48 UTC (permalink / raw)
To: qemu-devel
From: Thomas Monjalon <thomas@monjalon.net>
This function had been disabled from the beginning:
see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5
cpu_reset() function is in target-ppc/helper.c
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
hw/ppc.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/hw/ppc.c b/hw/ppc.c
index 5baeeaf..2a77eb9 100644
--- a/hw/ppc.c
+++ b/hw/ppc.c
@@ -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)
--
1.7.0.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ppc: remove dead code
2010-04-21 9:48 [Qemu-devel] [PATCH] ppc: remove dead code Thomas Monjalon
@ 2010-04-21 10:16 ` Alexander Graf
2010-05-18 18:50 ` Aurelien Jarno
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2010-04-21 10:16 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: qemu-devel
On 21.04.2010, at 11:48, Thomas Monjalon wrote:
> From: Thomas Monjalon <thomas@monjalon.net>
>
> This function had been disabled from the beginning:
> see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5
>
> cpu_reset() function is in target-ppc/helper.c
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Alexander Graf <agraf@suse.de>
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ppc: remove dead code
2010-04-21 9:48 [Qemu-devel] [PATCH] ppc: remove dead code Thomas Monjalon
2010-04-21 10:16 ` Alexander Graf
@ 2010-05-18 18:50 ` Aurelien Jarno
1 sibling, 0 replies; 3+ messages in thread
From: Aurelien Jarno @ 2010-05-18 18:50 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: qemu-devel
On Wed, Apr 21, 2010 at 11:48:11AM +0200, Thomas Monjalon wrote:
> From: Thomas Monjalon <thomas@monjalon.net>
>
> This function had been disabled from the beginning:
> see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5
>
> cpu_reset() function is in target-ppc/helper.c
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Thanks, applied.
> ---
> hw/ppc.c | 10 ----------
> 1 files changed, 0 insertions(+), 10 deletions(-)
>
> diff --git a/hw/ppc.c b/hw/ppc.c
> index 5baeeaf..2a77eb9 100644
> --- a/hw/ppc.c
> +++ b/hw/ppc.c
> @@ -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)
> --
> 1.7.0.5
>
>
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-18 18:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 9:48 [Qemu-devel] [PATCH] ppc: remove dead code Thomas Monjalon
2010-04-21 10:16 ` Alexander Graf
2010-05-18 18:50 ` Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).