]> git.proxmox.com Git - qemu.git/commit - target-microblaze/translate.c
target-microblaze: QOM'ify CPU
authorAndreas Färber <afaerber@suse.de>
Thu, 12 Apr 2012 00:17:53 +0000 (02:17 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 24 Apr 2012 14:04:56 +0000 (16:04 +0200)
commitb77f98cadad07a0863a6bfe1492c64f3a16ccbc5
treefd7f38f6ce885763259245a9564028e369a8e788
parentaa0d1267b3aa69c87fbd37a896bdd3f44d45c3f3
target-microblaze: QOM'ify CPU

Embed CPUMBState as first member of QOM MicroBlazeCPU.

Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
[AF: Updated cpu.c to include cpu-qom.h indirectly via cpu.h]
Makefile.target
target-microblaze/cpu-qom.h [new file with mode: 0644]
target-microblaze/cpu.c [new file with mode: 0644]
target-microblaze/cpu.h
target-microblaze/translate.c