From b628b3559d4f02357b5949907091105536a08a4c Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 16 Sep 2016 12:12:00 +0000 Subject: MFC 305605: Don't panic when we don't handle a userland exception, not all we may see are currently handled. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation --- sys/arm64/arm64/trap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arm64') diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c index ea932ed..255c188 100644 --- a/sys/arm64/arm64/trap.c +++ b/sys/arm64/arm64/trap.c @@ -394,9 +394,9 @@ do_el0_sync(struct trapframe *frame) userret(td, frame); break; default: - print_registers(frame); - panic("Unknown userland exception %x esr_el1 %lx\n", exception, - esr); + call_trapsignal(td, SIGBUS, BUS_OBJERR, (void *)frame->tf_elr); + userret(td, frame); + break; } } -- cgit v1.1