qemu-cr16/hw/openrisc
Igor Mammedov 87511341c3 add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide
The helpers form load-acquire/store-release pair and ensure
that appropriate barriers are in place in case checks happen
outside of BQL.

Use them to replace open-coded checkers/setters across the code,
to make sure that barriers are not missed.  Helpers also make code a
bit more readable.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Link: https://lore.kernel.org/r/20250821155603.2422553-1-imammedo@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-08-29 12:48:14 +02:00
..
boot.c exec/cpu-all: remove exec/target_page include 2025-04-23 15:04:57 -07:00
cputimer.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2025-08-29 12:48:14 +02:00
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
meson.build meson: pick libfdt from common_ss when building target-specific files 2024-05-10 15:45:15 +02:00
openrisc_sim.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virt.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00