Stop obliterating actual exception type for emulated traps from vm86.
Wording and reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D15054
This commit is contained in:
parent
12db404753
commit
79547c52b8
@ -357,7 +357,6 @@ user_trctrap_out:
|
||||
if (frame->tf_eflags & PSL_VM) {
|
||||
signo = vm86_emulate((struct vm86frame *)frame);
|
||||
if (signo == SIGTRAP) {
|
||||
type = T_TRCTRAP;
|
||||
load_dr6(rdr6() | 0x4000);
|
||||
goto user_trctrap_out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user