mirror of
https://github.com/qemu/qemu.git
synced 2024-12-22 19:53:41 +08:00
target/xtensa: add qemu_cpu_kick to xtensa_runstall
When xtensa_runstall is called to unstall a core it needs to kick it after clearing runstall flag, otherwise the core doesn't start immediately. There's also no point in clearing CPU_INTERRUPT_HALT, drop it. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
8b7a3e1e54
commit
6230dac89b
@ -252,7 +252,7 @@ void xtensa_runstall(CPUXtensaState *env, bool runstall)
|
||||
if (runstall) {
|
||||
cpu_interrupt(cpu, CPU_INTERRUPT_HALT);
|
||||
} else {
|
||||
cpu_reset_interrupt(cpu, CPU_INTERRUPT_HALT);
|
||||
qemu_cpu_kick(cpu);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user