summaryrefslogtreecommitdiff
path: root/include/qom/cpu.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2013-04-23 10:29:37 +0200
committerAndreas Färber <afaerber@suse.de>2013-05-01 13:04:17 +0200
commit2993683b0fde0f836777c945baaddcaa5937903f (patch)
tree3749ee6f2a1c501e2b85afb5f8e8412d8b6361bb /include/qom/cpu.h
parent13eed94ed5617b98e657163490584dc2a0cc4b32 (diff)
downloadqemu-2993683b0fde0f836777c945baaddcaa5937903f.zip
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>
Diffstat (limited to 'include/qom/cpu.h')
-rw-r--r--include/qom/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index 3664a1b631..ac93dcec66 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -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