MCPcopy Create free account
hub / github.com/F-Stack/f-stack / external_abort

Function external_abort

freebsd/arm64/arm64/trap.c:213–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213static void
214external_abort(struct thread *td, struct trapframe *frame, uint64_t esr,
215 uint64_t far, int lower)
216{
217
218 /*
219 * Try to handle synchronous external aborts caused by
220 * bus_space_peek() and/or bus_space_poke() functions.
221 */
222 if (!lower && test_bs_fault((void *)frame->tf_elr)) {
223 frame->tf_elr = (uint64_t)generic_bs_fault;
224 return;
225 }
226
227 print_registers(frame);
228 printf(" far: %16lx\n", far);
229 panic("Unhandled EL%d external data abort", lower ? 0: 1);
230}
231
232static void
233data_abort(struct thread *td, struct trapframe *frame, uint64_t esr,

Callers

nothing calls this directly

Calls 4

test_bs_faultFunction · 0.85
print_registersFunction · 0.85
printfFunction · 0.50
panicFunction · 0.50

Tested by

no test coverage detected