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/target/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>
1 week ago
..
Kconfig kconfig: express dependency of individual boards on libfdt 1 year ago
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 5 months ago
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2 years ago
cpu.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 1 week ago
cpu.h accel/tcg: Hoist cpu_get_tb_cpu_state decl to accl/tcg/cpu-ops.h 4 months ago
disas.c meson: target 5 years ago
exception.c include: Remove 'exec/exec-all.h' 4 months ago
exception.h compiler.h: replace QEMU_NORETURN with G_NORETURN 3 years ago
exception_helper.c include: Remove 'exec/exec-all.h' 4 months ago
fpu_helper.c include: Remove 'exec/exec-all.h' 4 months ago
gdbstub.c gdbstub: Clarify no more than @gdb_num_core_regs can be accessed 6 months ago
helper.h target/openrisc: Implement unordered fp comparisons 6 years ago
insns.decode target/openrisc: Implement l.adrp 6 years ago
interrupt.c include: Remove 'exec/exec-all.h' 4 months ago
interrupt_helper.c include: Remove 'exec/exec-all.h' 4 months ago
machine.c target/migration: Inline VMSTATE_CPU() 4 months ago
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2 years ago
mmu.c exec/cpu-all: remove exec/target_page include 5 months ago
sys_helper.c tcg: Define INSN_START_WORDS as constant 3 4 months ago
translate.c include: Remove 'exec/exec-all.h' 4 months ago