You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/hw/core
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>
2 weeks ago
..
cpu.h add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2 weeks ago
generic-loader.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
resetcontainer.h hw/core/resetcontainer: Consolidate OBJECT_DECLARE_SIMPLE_TYPE 3 months ago
split-irq.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
sysbus-fdt.h hw/core: Move the ARM sysbus-fdt to core 3 years ago
sysemu-cpu-ops.h cpus: Remove CPUClass::has_work() handler 6 months ago