mirror of https://github.com/xemu-project/xemu.git
bsd-user: Use cpu_reset() in after cpu_init()
Eliminates cpu_state_reset() usage. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c537d79cc5
commit
fdcb4fb685
|
@ -918,7 +918,7 @@ int main(int argc, char **argv)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
#if defined(TARGET_I386) || defined(TARGET_SPARC) || defined(TARGET_PPC)
|
#if defined(TARGET_I386) || defined(TARGET_SPARC) || defined(TARGET_PPC)
|
||||||
cpu_state_reset(env);
|
cpu_reset(ENV_GET_CPU(env));
|
||||||
#endif
|
#endif
|
||||||
thread_env = env;
|
thread_env = env;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue