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

Function align_abort

freebsd/arm64/arm64/trap.c:196–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196static void
197align_abort(struct thread *td, struct trapframe *frame, uint64_t esr,
198 uint64_t far, int lower)
199{
200 if (!lower) {
201 print_registers(frame);
202 printf(" far: %16lx\n", far);
203 printf(" esr: %.8lx\n", esr);
204 panic("Misaligned access from kernel space!");
205 }
206
207 call_trapsignal(td, SIGBUS, BUS_ADRALN, (void *)frame->tf_elr,
208 ESR_ELx_EXCEPTION(frame->tf_esr));
209 userret(td, frame);
210}
211
212
213static void

Callers

nothing calls this directly

Calls 5

print_registersFunction · 0.85
userretFunction · 0.85
call_trapsignalFunction · 0.70
printfFunction · 0.50
panicFunction · 0.50

Tested by

no test coverage detected