1 # Blackfin testcase for aborting an excepting insn immediately
3 # sim: --environment operating
6 .include "testutils.inc"
8 # This test keeps P5 as the base of the EVT table
10 .macro set_evt lvl:req, sym:req
12 [P5 + 4 * \lvl\()] = R1;
17 # Set up exception handler
22 # Lower ourselves to userspace
33 # Sometimes this even causes immediate double faults when
34 # exceptions are not exact since this may trigger multiple
40 # RETX should be pointing to the right place
41 loadsym R6, _user_fail;
46 # R0 and P0 should be unchanged