diff options
author | Andreas Färber <afaerber@suse.de> | 2012-01-28 16:39:52 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:27 +0100 |
commit | dd83b06ae61cfa2dc4381ab49f365bd0995fc930 (patch) | |
tree | dd8e6fc7732ca3f34e71e2fc35789a3c09b6bf53 /qom/Makefile | |
parent | 9349b4f9fda360f3d9adc4cf4443a1a9b429c17e (diff) | |
download | hqemu-dd83b06ae61cfa2dc4381ab49f365bd0995fc930.zip hqemu-dd83b06ae61cfa2dc4381ab49f365bd0995fc930.tar.gz |
qom: Introduce CPU class
Reintroduce CPUState as QOM object: It's abstract and derived directly
from TYPE_OBJECT for compatibility with the user emulators.
The identifier CPUState avoids conflicts between CPU() and the struct.
Introduce $(qom-twice-y) to build it separately for system and for user
emulators.
Prepare a virtual reset method, (re)introduce cpu_reset() as wrapper.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qom/Makefile')
-rw-r--r-- | qom/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qom/Makefile b/qom/Makefile index 885a263..34c6de5 100644 --- a/qom/Makefile +++ b/qom/Makefile @@ -1 +1,2 @@ qom-y = object.o container.o qom-qobject.o +qom-twice-y = cpu.o |