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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305605
@ -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…
Reference in New Issue
Block a user