4 #define debug_vector level6
9 set_vector debug_vector, 0
13 set_vector debug_vector, 2f
14 rsil a2, debug_level - 1
22 movi a3, 0x10 | debug_level
33 set_vector debug_vector, 0
37 set_vector debug_vector, 2f
38 rsil a2, debug_level - 1
46 movi a3, 0x10 | debug_level
57 set_vector debug_vector, 0
65 rsil a2, debug_level - 1
72 set_vector debug_vector, 2f
84 movi a3, 0x10 | debug_level
95 set_vector debug_vector, 3f
96 rsil a2, debug_level - 1
111 movi a3, 0x10 | debug_level
129 set_vector debug_vector, 2f
130 rsil a2, debug_level - 1
146 set_vector debug_vector, 2f
147 rsil a2, debug_level - 1
169 .macro check_dbreak dr
174 movi a3, 0x4 | (\dr << 8)
180 .macro dbreak_test dr, ctl, break, access, op
181 set_vector debug_vector, 2f
182 rsil a2, debug_level - 1
198 dbreak_test 0, 0x4000003f, 0xd000007f, 0xd000007f, l8ui
199 dbreak_test 1, 0x4000003e, 0xd000007e, 0xd000007e, l16ui
200 dbreak_test 0, 0x4000003c, 0xd000007c, 0xd000007c, l32i
202 dbreak_test 1, 0x8000003f, 0xd000007f, 0xd000007f, s8i
203 dbreak_test 0, 0x8000003e, 0xd000007e, 0xd000007e, s16i
204 dbreak_test 1, 0x8000003c, 0xd000007c, 0xd000007c, s32i
208 dbreak_test 0, 0x4000003f, 0xd000007d, 0xd000007c, l16ui
209 dbreak_test 1, 0x4000003f, 0xd000007d, 0xd000007c, l32i
211 dbreak_test 0, 0x4000003e, 0xd000007e, 0xd000007f, l8ui
212 dbreak_test 1, 0x4000003e, 0xd000007e, 0xd000007c, l32i
214 dbreak_test 0, 0x4000003c, 0xd000007c, 0xd000007d, l8ui
215 dbreak_test 1, 0x4000003c, 0xd000007c, 0xd000007c, l16ui
217 dbreak_test 0, 0x40000038, 0xd0000078, 0xd000007b, l8ui
218 dbreak_test 1, 0x40000038, 0xd0000078, 0xd000007a, l16ui
219 dbreak_test 0, 0x40000038, 0xd0000078, 0xd000007c, l32i
221 dbreak_test 1, 0x40000030, 0xd0000070, 0xd0000075, l8ui
222 dbreak_test 0, 0x40000030, 0xd0000070, 0xd0000076, l16ui
223 dbreak_test 1, 0x40000030, 0xd0000070, 0xd0000078, l32i
225 dbreak_test 0, 0x40000020, 0xd0000060, 0xd000006f, l8ui
226 dbreak_test 1, 0x40000020, 0xd0000060, 0xd0000070, l16ui
227 dbreak_test 0, 0x40000020, 0xd0000060, 0xd0000074, l32i
230 dbreak_test 0, 0x8000003f, 0xd000007d, 0xd000007c, s16i
231 dbreak_test 1, 0x8000003f, 0xd000007d, 0xd000007c, s32i
233 dbreak_test 0, 0x8000003e, 0xd000007e, 0xd000007f, s8i
234 dbreak_test 1, 0x8000003e, 0xd000007e, 0xd000007c, s32i
236 dbreak_test 0, 0x8000003c, 0xd000007c, 0xd000007d, s8i
237 dbreak_test 1, 0x8000003c, 0xd000007c, 0xd000007c, s16i
239 dbreak_test 0, 0x80000038, 0xd0000078, 0xd000007b, s8i
240 dbreak_test 1, 0x80000038, 0xd0000078, 0xd000007a, s16i
241 dbreak_test 0, 0x80000038, 0xd0000078, 0xd000007c, s32i
243 dbreak_test 1, 0x80000030, 0xd0000070, 0xd0000075, s8i
244 dbreak_test 0, 0x80000030, 0xd0000070, 0xd0000076, s16i
245 dbreak_test 1, 0x80000030, 0xd0000070, 0xd0000078, s32i
247 dbreak_test 0, 0x80000020, 0xd0000060, 0xd000006f, s8i
248 dbreak_test 1, 0x80000020, 0xd0000060, 0xd0000070, s16i
249 dbreak_test 0, 0x80000020, 0xd0000060, 0xd0000074, s32i
253 dbreak_test 0, 0x40000030, 0xd0000071, 0xd0000070, l16ui
254 dbreak_test 1, 0x40000035, 0xd0000072, 0xd0000070, l32i