Changeset 10122 in vbox
- Timestamp:
- Jul 2, 2008 9:22:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r10097 r10122 1276 1276 1277 1277 /** 1278 * Gets the CPU vendor 1278 * Gets the CPU vendor 1279 1279 * 1280 1280 * @returns CPU vendor … … 1824 1824 if (RT_LIKELY(!pCtxCore->eflags.Bits.u1VM)) 1825 1825 { 1826 cpl = (pCtxCore-> cs & X86_SEL_RPL);1826 cpl = (pCtxCore->ss & X86_SEL_RPL); 1827 1827 #ifndef IN_RING0 1828 1828 if (cpl == 1) … … 1853 1853 if (!(pVM->cpum.s.Guest.cr0 & X86_CR0_PE)) 1854 1854 enmMode = CPUMMODE_REAL; 1855 else 1855 else 1856 1856 if (!(pVM->cpum.s.Guest.msrEFER & MSR_K6_EFER_LMA)) 1857 1857 enmMode = CPUMMODE_PROTECTED;
Note:
See TracChangeset
for help on using the changeset viewer.