]> git.proxmox.com Git - qemu.git/commit - target-arm/cpu.h
target-arm: Update ARMCPU to QOM realizefn
authorAndreas Färber <afaerber@suse.de>
Sat, 5 Jan 2013 09:18:18 +0000 (10:18 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:50:56 +0000 (14:50 +0100)
commit149692667f8a46430127ca0555b38965f52177f5
tree5ed1da3fd5cd2c2a4ada8bc730b27ab6165b1239
parentbd1b282836a7885a13c13f9cc63123fa8e32f02f
target-arm: Update ARMCPU to QOM realizefn

Turn arm_cpu_realize() into a QOM realize function, no longer called
via cpu.h prototype. To maintain the semantics of cpu_init(), set
realized = true explicitly in cpu_arm_init().

Move GDB coprocessor registration, CPU reset and vCPU initialization
into the realizefn.

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c