summaryrefslogtreecommitdiffstats
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorRichard Henderson2016-06-30 07:12:55 +0200
committerRichard Henderson2016-10-26 17:29:00 +0200
commitfdbc2b5722f6092e47181a947c90fd4bdcc1c121 (patch)
treee28acccae721a37200503f6983edf56b42b9d4a4 /include/qemu-common.h
parentint128: Add int128_make128 (diff)
downloadqemu-fdbc2b5722f6092e47181a947c90fd4bdcc1c121.tar.gz
qemu-fdbc2b5722f6092e47181a947c90fd4bdcc1c121.tar.xz
qemu-fdbc2b5722f6092e47181a947c90fd4bdcc1c121.zip
tcg: Add EXCP_ATOMIC
When we cannot emulate an atomic operation within a parallel context, this exception allows us to stop the world and try again in a serial context. Reviewed-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/qemu-common.h')
-rw-r--r--include/qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 7e6e4feb4b..1430390eb6 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -80,6 +80,7 @@ void tcg_exec_init(unsigned long tb_size);
bool tcg_enabled(void);
void cpu_exec_init_all(void);
+void cpu_exec_step_atomic(CPUState *cpu);
/**
* set_preferred_target_page_bits: