From 60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094 Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Fri, 17 May 2013 18:26:54 +0200 Subject: cpu: Change cpu_exit() argument to CPUState It no longer depends on CPUArchState, so move it to qom/cpu.c. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber --- include/qom/cpu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/qom/cpu.h') diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 3e8cc479bd..3494356d67 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -370,6 +370,14 @@ void cpu_interrupt(CPUState *cpu, int mask); */ void cpu_reset_interrupt(CPUState *cpu, int mask); +/** + * cpu_exit: + * @cpu: The CPU to exit. + * + * Requests the CPU @cpu to exit execution. + */ +void cpu_exit(CPUState *cpu); + /** * cpu_resume: * @cpu: The CPU to resume. -- cgit v1.2.3-55-g7522