VirtualBox

Changeset 77897 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 27, 2019 4:58:02 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Fix CPL checks for INT1 (ICEBP) generated #DBs. Fix v8086 mode IOPL checks for INT1 (ICEBP) and INTO. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r77896 r77897  
    48694869
    48704870    /* Check DPL against CPL if applicable. */
    4871     if (fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_ICEBP_INSTR) == IEM_XCPT_FLAGS_T_SOFT_INT)
     4871    if ((fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_ICEBP_INSTR)) == IEM_XCPT_FLAGS_T_SOFT_INT)
    48724872    {
    48734873        if (pVCpu->iem.s.uCpl > Idte.Gate.u2Dpl)
     
    53045304
    53055305    /* Check DPL against CPL if applicable. */
    5306     if (fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_ICEBP_INSTR) == IEM_XCPT_FLAGS_T_SOFT_INT)
     5306    if ((fFlags & (IEM_XCPT_FLAGS_T_SOFT_INT | IEM_XCPT_FLAGS_ICEBP_INSTR)) == IEM_XCPT_FLAGS_T_SOFT_INT)
    53075307    {
    53085308        if (pVCpu->iem.s.uCpl > Idte.Gate.u2Dpl)
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