aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-04-05 12:32:37 +0100
committerAlex Bennée <alex.bennee@linaro.org>2017-04-10 10:23:38 +0100
commit512d3c807177b5cfff6b5a4925d71ae1b5521093 (patch)
treee28725655ab542d8a7e0c5eab665c009a0ea6727 /qemu-io.c
parente4cd96571f00e290e93dcc65a6d2b616b159dea6 (diff)
cpus: introduce cpu_update_icount helper
By holding off updates to timer_state.qemu_icount we can run into trouble when the non-vCPU thread needs to know the time. This helper ensures we atomically update timers_state.qemu_icount based on what has been currently executed. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions