Don't panic when we don't handle a userland exception, not all we may see
are currently handled. Obtained from: ABT Systems Ltd MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a2f51f57d1
commit
e0c6c1d1fd
@ -401,9 +401,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user