target-mips: QOM'ify CPU
commit0f71a7095db6bc055bc5bb520d85ea650cca8a33
authorAndreas Färber <afaerber@suse.de>
Sun, 15 Apr 2012 21:29:19 +0000 (15 23:29 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 30 Apr 2012 09:32:13 +0000 (30 11:32 +0200)
treef7df5f75ee70431f270671936477b793f378c500
parent11150915fcfc44aaf35c807eaa16599eabc9e718
target-mips: QOM'ify CPU

Embed CPUMIPSState as first member of QOM MIPSCPU.

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

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Makefile.target
target-mips/cpu-qom.h [new file with mode: 0644]
target-mips/cpu.c [new file with mode: 0644]
target-mips/cpu.h
target-mips/translate.c