VirtualBox

Changeset 2151 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2007 8:50:18 AM (18 years ago)
Author:
vboxsync
Message:

CPUMGetGuestCPL: get cpl from hidden ss selector register if valid.

File:
1 edited

Legend:

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

    r1970 r2151  
    14891489    uint32_t cpl;
    14901490
     1491    if (CPUMAreHiddenSelRegsValid(pVM))
     1492    {
     1493        cpl = pCtxCore->ssHid.Attr.n.u2Dpl;
     1494    }
     1495    else
    14911496    if (RT_LIKELY(pVM->cpum.s.Guest.cr0 & X86_CR0_PE))
    14921497    {
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