VirtualBox

Changeset 9394 in vbox for trunk/src


Ignore:
Timestamp:
Jun 4, 2008 3:54:39 PM (17 years ago)
Author:
vboxsync
Message:

fix incorrect selector calculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/SELM.cpp

    r9222 r9394  
    14201420         */
    14211421        PVBOXDESC   pDesc = &pVM->selm.s.paGdtHC[SelTss >> X86_SEL_SHIFT];
    1422         RTGCPTR     GCPtrTss = pDesc->Gen.u16BaseLow | (pDesc->Gen.u8BaseHigh1 << 16) | (pDesc->Gen.u8BaseHigh2 << 24);
     1422        RTGCPTR     GCPtrTss = pDesc->Gen.u16BaseLow | (pDesc->Gen.u8BaseHigh1 << 16) | ((pDesc->Gen.u8BaseHigh2 << 24) & 0xff000000);
    14231423        unsigned    cbTss = pDesc->Gen.u16LimitLow | (pDesc->Gen.u4LimitHigh << 16);
    14241424        if (pDesc->Gen.u1Granularity)
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