aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-02-14 01:16:17 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-30 11:09:30 +0200
commitae0f5e9ea80de923ae1c11289cf6ac468f657880 (patch)
tree030b466f08084c4634c49dc6e7375bf771f8c6f5 /target-unicore32/cpu.h
parentc3a8baa90d98edcf290bfda6850615368738a17c (diff)
target-unicore32: QOM'ify CPU
Embed CPUUniCore32State as first member of UniCore32CPU. Contributed under GPLv2+. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'target-unicore32/cpu.h')
-rw-r--r--target-unicore32/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h
index 8ec0d2f595..81c14ffd77 100644
--- a/target-unicore32/cpu.h
+++ b/target-unicore32/cpu.h
@@ -160,6 +160,7 @@ static inline void cpu_set_tls(CPUUniCore32State *env, target_ulong newtls)
}
#include "cpu-all.h"
+#include "cpu-qom.h"
#include "exec-all.h"
static inline void cpu_pc_from_tb(CPUUniCore32State *env, TranslationBlock *tb)