1 #*****************************************************************************
3 #-----------------------------------------------------------------------------
5 # Test interprocessor interrupts.
8 #include "riscv_test.h"
9 #include "test_macros.h"
14 # clear pending IPIs then enable interrupts
15 li s8, 0 # number of taken timer interrupts
16 li s9, 10 # how many interrupts to run for
21 li a0, SR_EI | (1 << (IRQ_TIMER + SR_IM_SHIFT))
24 # advance an LFSR 1000 times
40 # make sure the LFSR was computed correctly
56 li t1, 0x8000000000000007