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

Function svc_handler

freebsd/arm64/arm64/trap.c:182–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static void
183svc_handler(struct thread *td, struct trapframe *frame)
184{
185
186 if ((frame->tf_esr & ESR_ELx_ISS_MASK) == 0) {
187 syscallenter(td);
188 syscallret(td);
189 } else {
190 call_trapsignal(td, SIGILL, ILL_ILLOPN, (void *)frame->tf_elr,
191 ESR_ELx_EXCEPTION(frame->tf_esr));
192 userret(td, frame);
193 }
194}
195
196static void
197align_abort(struct thread *td, struct trapframe *frame, uint64_t esr,

Callers 1

do_el0_syncFunction · 0.85

Calls 4

syscallenterFunction · 0.85
syscallretFunction · 0.85
userretFunction · 0.85
call_trapsignalFunction · 0.70

Tested by

no test coverage detected