| 180 | } |
| 181 | |
| 182 | static void |
| 183 | svc_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 | |
| 196 | static void |
| 197 | align_abort(struct thread *td, struct trapframe *frame, uint64_t esr, |
no test coverage detected