aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-17 18:26:54 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-28 13:25:12 +0200
commit60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094 (patch)
tree1b543cad3d08d8f79df37b72554bd01dcce5ebe1 /exec.c
parentcb446ecab714b2444a270be209e0533bcd2ee534 (diff)
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 <afaerber@suse.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/exec.c b/exec.c
index 0b172b45a6..2d02b11e1c 100644
--- a/exec.c
+++ b/exec.c
@@ -598,14 +598,6 @@ void cpu_single_step(CPUArchState *env, int enabled)
#endif
}
-void cpu_exit(CPUArchState *env)
-{
- CPUState *cpu = ENV_GET_CPU(env);
-
- cpu->exit_request = 1;
- cpu->tcg_exit_req = 1;
-}
-
void cpu_abort(CPUArchState *env, const char *fmt, ...)
{
va_list ap;