diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:37:06 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 10:37:06 +0000 |
commit | a3c2b9c9a69df047e93546035bf7238ff0a3b1f0 (patch) | |
tree | 934166a6ed652b1afb19733479d08260676ab9da /bsd-user | |
parent | 34644907694de37350422ed9e2e292a5b6bdf401 (diff) | |
download | qemu-a3c2b9c9a69df047e93546035bf7238ff0a3b1f0.tar.gz qemu-a3c2b9c9a69df047e93546035bf7238ff0a3b1f0.tar.bz2 qemu-a3c2b9c9a69df047e93546035bf7238ff0a3b1f0.zip |
user: move CPU reset call to main.c for x86/PPC/Sparc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 19b7f3a1f7..9f8683d2e6 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -891,6 +891,9 @@ int main(int argc, char **argv) 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")) { |