VirtualBox

Changeset 97611 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 19, 2022 11:42:45 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154655
Message:

ValKit/Bs3Kit: Fixed bug in 32-bit trap handlers where ESP was truncated when the trap/int/fault/whatever originated in v8086 mode. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-c32-Trap32Generic.asm

    r96407 r97611  
    327327        mov     byte [edi + BS3TRAPFRAME.Ctx + BS3REGCTX.bCpl], 3
    328328        or      byte [edi + BS3TRAPFRAME.Ctx + BS3REGCTX.bMode], BS3_MODE_CODE_V86 ; paranoia ^ 2
    329         movzx   ecx, word [ebp + 16]
     329        mov     ecx, [ebp + 16]
    330330        mov     [edi + BS3TRAPFRAME.Ctx + BS3REGCTX.rsp], ecx
    331331        mov     cx, [ebp + 20]
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette