aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/helper.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-11 18:24:50 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2012-04-14 03:48:08 +0400
commite554bbc6892394e506f5995ff4e0ca21cfe04a25 (patch)
treefae0ac266a9c4f7fe005136e1f816ae2ce49911a /target-xtensa/helper.c
parent5087a72cb3e94f48c1d447babd67e33bfd9dda12 (diff)
downloadqemu-e554bbc6892394e506f5995ff4e0ca21cfe04a25.zip
qemu-e554bbc6892394e506f5995ff4e0ca21cfe04a25.tar.gz
qemu-e554bbc6892394e506f5995ff4e0ca21cfe04a25.tar.bz2
target-xtensa: Start QOM'ifying CPU init
Move XtensaConfig-independent code from cpu_xtensa_init() into a QOM initfn, as a start. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/helper.c')
-rw-r--r--target-xtensa/helper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c
index 000f965..2094227 100644
--- a/target-xtensa/helper.c
+++ b/target-xtensa/helper.c
@@ -102,7 +102,6 @@ CPUXtensaState *cpu_xtensa_init(const char *cpu_model)
cpu = XTENSA_CPU(object_new(TYPE_XTENSA_CPU));
env = &cpu->env;
env->config = config;
- cpu_exec_init(env);
if (!tcg_inited) {
tcg_inited = 1;