commit | b55a37c981914aa8ecd21b9a2a2fb37f39b917c5 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sat Nov 07 10:37:06 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Nov 07 10:37:06 2009 +0000 |
tree | 934166a6ed652b1afb19733479d08260676ab9da | |
parent | d84bda46de13c7d1536545fb44c8e9341054094a [diff] [blame] |
user: move CPU reset call to main.c for x86/PPC/Sparc Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/bsd-user/main.c b/bsd-user/main.c index 19b7f3a..9f8683d 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c
@@ -891,6 +891,9 @@ fprintf(stderr, "Unable to find CPU definition\n"); exit(1); } +#if defined(TARGET_I386) || defined(TARGET_SPARC) || defined(TARGET_PPC) + cpu_reset(env); +#endif thread_env = env; if (getenv("QEMU_STRACE")) {