target-xtensa: QOM'ify CPU
authorAndreas Färber <afaerber@suse.de>
Wed, 11 Apr 2012 16:24:48 +0000 (18:24 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 13 Apr 2012 23:48:08 +0000 (03:48 +0400)
commita4633e16d77bd1cf0c25e500d15943499b94f2f9
treeb065c94b19193050b6137be021c39a60cb2b0cbc
parent7d6b9f0a3838632b4c553e0a387af0bbdf4297c0
target-xtensa: QOM'ify CPU

Embed CPUXtensaState as first member of XtensaCPU.
Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Makefile.target
target-xtensa/cpu-qom.h [new file with mode: 0644]
target-xtensa/cpu.c [new file with mode: 0644]
target-xtensa/cpu.h
target-xtensa/helper.c