For x86, make the testing purpose trigger_irq() function to send interrupt processor interrupt to CPU by APIC, instead of executing INT instruction. Doing this because: 1. It can be controlled by irq lock, more close to trigger irq. 2. We don't need to hardcode the interrupt vector. Signed-off-by: Enjia Mai <enjiax.mai@intel.com> |
||
|---|---|---|
| .. | ||
| busy_sim.h | ||
| fff.h | ||
| interrupt_util.h | ||
| tc_util.h | ||
| test_asm_inline_gcc.h | ||
| test_utils.h | ||
| timestamp.h | ||
| ztest.ld | ||