VirtualBox

Changeset 100049 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jun 2, 2023 2:15:46 PM (19 months ago)
Author:
vboxsync
Message:

VMM/IEM: Clear the D and L descriptor bits when loading segements for the 286 loadall instruction.

File:
1 edited

Legend:

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

    r99994 r100049  
    40194019    /* The attributes are in the fourth byte. */
    40204020    pHid->Attr.u   = pbMem[3];
     4021    pHid->Attr.u  &= ~(X86DESCATTR_L | X86DESCATTR_D); /* (just to be on the safe side) */
    40214022    /* The limit is in the last two bytes. */
    40224023    pHid->u32Limit = pbMem[4] + (pbMem[5] << 8);
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