Ignore any breakpoint instructions (int 3) we encounter in vm86 mode

rather than treating them as a fatal exception and halting.  At least one
storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in
their disk read routine.

MFC after:	3 days
This commit is contained in:
jhb 2006-12-06 17:45:35 +00:00
parent 16b7f5bc54
commit 7e6ec61a87

View File

@ -499,6 +499,8 @@ v86mon.4: cmpb $0xfa,%al # CLI?
je v86cli # Yes
cmpb $0xfb,%al # STI?
je v86sti # Yes
cmpb $0xcc,%al # INT3?
je v86mon.7 # Yes, ignore
movzwl 0x38(%ebp),%ebx # Load V86 SS
shll $0x4,%ebx # To offset
pushl %ebx # Save