]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/e500.c
PPC: E500: Implement reboot controller
authorAlexander Graf <agraf@suse.de>
Thu, 2 Jun 2011 11:53:40 +0000 (13:53 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 17 Jun 2011 00:58:23 +0000 (02:58 +0200)
commitb0fb84236da4a36a852010b6b5d5d3ca497a2b68
tree870571337a99ee5de81c8150a641b49f80a27bd0
parenteb47d7c5d96060040931c42773ee07e61e547af9
PPC: E500: Implement reboot controller

When Linux reboots an e500 VM, it writes to a magic register in the
"global-utilities" device indicated by the device tree. We were not
emulating that device so far, rendering the VM reboot-less.

This patch implements that device with only the reboot functionality
implemented and adds it to the device tree. With this patch applied,
I can successfully reboot a -M mpc8544ds VM.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Andreas Färber <andreas.faerber@web.de>
Makefile.target
hw/mpc8544_guts.c [new file with mode: 0644]
hw/ppce500_mpc8544ds.c
pc-bios/mpc8544ds.dtb
pc-bios/mpc8544ds.dts