mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
d78cd1ad55
commit
44496fb5f2
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue