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 | b55a37c981914aa8ecd21b9a2a2fb37f39b917c5 (patch) | |
tree | 934166a6ed652b1afb19733479d08260676ab9da /darwin-user/main.c | |
parent | d84bda46de13c7d1536545fb44c8e9341054094a (diff) |
user: move CPU reset call to main.c for x86/PPC/Sparc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/main.c')
-rw-r--r-- | darwin-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c index 9f0e0149f3..5fd314ecd9 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -846,6 +846,7 @@ int main(int argc, char **argv) /* NOTE: we need to init the CPU at this stage to get qemu_host_page_size */ env = cpu_init(cpu_model); + cpu_reset(env); printf("Starting %s with qemu\n----------------\n", filename); |