]> git.proxmox.com Git - qemu.git/commit
target-openrisc: Update OpenRISCCPU to QOM realizefn
authorAndreas Färber <afaerber@suse.de>
Sat, 5 Jan 2013 13:11:07 +0000 (14:11 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:50:56 +0000 (14:50 +0100)
commitc296262bc94651a7a43639857d8343470f4129f3
tree09e643e5586cf49a7c8f6c844db0600f477021e9
parent2b6f294cacd9f4e133a7813d22e1b4e87ac6b2a3
target-openrisc: Update OpenRISCCPU to QOM realizefn

Update the openrisc_cpu_realize() signature, hook it up to
DeviceClass::realize and set realized = true in cpu_openrisc_init().

qapi/error.h is now included through qdev and no longer needed.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Jia Liu <proljc@gmail.com>
target-openrisc/cpu.c
target-openrisc/cpu.h