mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
user: move CPU reset call to main.c for x86/PPC/Sparc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d84bda46de
commit
b55a37c981
6 changed files with 8 additions and 9 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue