diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-26 14:58:09 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-11 09:53:41 +0100 |
commit | 9877ea05de9cdce6a5da87175d8455832f8148dc (patch) | |
tree | 3d029b208685f8f3cd79c3fe756270a8daf1b4c2 /qemu-io.c | |
parent | 1fceff9c3ca5960748f7346b3cd75e9d2620eaed (diff) | |
download | qemu-9877ea05de9cdce6a5da87175d8455832f8148dc.zip qemu-9877ea05de9cdce6a5da87175d8455832f8148dc.tar.gz qemu-9877ea05de9cdce6a5da87175d8455832f8148dc.tar.bz2 |
accel/tcg: Add cpu_in_serial_context
Like cpu_in_exclusive_context, but also true if
there is no other cpu against which we could race.
Use it in tb_flush as a direct replacement.
Use it in cpu_loop_exit_atomic to ensure that there
is no loop against cpu_exec_step_atomic.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions