Home
last modified time | relevance | path

Searched refs:sw_bp_addr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Debreak_test.c14 static uint64_t sw_bp_addr; variable
25 GUEST_ASSERT_EQ(READ_ONCE(sw_bp_addr), LABEL_ADDRESS(sw_bp_2)); in guest_code()
32 WRITE_ONCE(sw_bp_addr, regs->epc); in guest_breakpoint_handler()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Ddebug-exceptions.c34 static volatile uint64_t sw_bp_addr, hw_bp_addr; variable
244 GUEST_ASSERT_EQ(sw_bp_addr, PC(sw_bp)); in guest_code()
263 GUEST_ASSERT_EQ(sw_bp_addr, PC(bp_brk)); in guest_code()
289 sw_bp_addr = 0; in guest_code()
291 GUEST_ASSERT_EQ(sw_bp_addr, PC(sw_bp2)); in guest_code()
349 sw_bp_addr = regs->pc; in guest_sw_bp_handler()