mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
cpu: Introduce cpu_resume(), for single CPU
Also add a stub for it, to make possible to use it in qom/cpu.c, which is shared with user emulators. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
13eed94ed5
commit
2993683b0f
4 changed files with 21 additions and 3 deletions
|
@ -256,5 +256,12 @@ void cpu_interrupt(CPUState *cpu, int mask);
|
|||
*/
|
||||
void cpu_reset_interrupt(CPUState *cpu, int mask);
|
||||
|
||||
/**
|
||||
* cpu_resume:
|
||||
* @cpu: The CPU to resume.
|
||||
*
|
||||
* Resumes CPU, i.e. puts CPU into runnable state.
|
||||
*/
|
||||
void cpu_resume(CPUState *cpu);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue