]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc405_uc.c
PPC: 405: Use proper CPU reset
authorAlexander Graf <agraf@suse.de>
Tue, 21 Feb 2012 18:41:59 +0000 (19:41 +0100)
committerAndreas Färber <afaerber@suse.de>
Wed, 14 Mar 2012 21:20:24 +0000 (22:20 +0100)
commitfc0b2c0f1a8eb679d28763832f3223259bf37b34
tree405c22ba39983f138505e7da42be118019dd9acb
parent418ba9e5d6849ef2e8512d8853628ce4bf37937a
PPC: 405: Use proper CPU reset

On ppc405ep there is a register that allows for software to reset the
core, but not the whole system. Implement this reset using a reset
interrupt.

This gets rid of a bunch of #if 0'ed code.

Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
cpu-exec.c
hw/ppc.c
hw/ppc405_uc.c
target-ppc/cpu.h