Changeset 73708 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Aug 16, 2018 10:22:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73627 r73708 5874 5874 AssertCompile(RT_ELEMENTS(s_auAccessSizeMasks) == RT_ELEMENTS(s_auAddrSizeMasks)); 5875 5875 5876 uint8_t const uAddrSize = pExitInstrInfo-> InvVmxXsaves.u3AddrSize;5877 uint8_t const iSegReg = pExitInstrInfo-> InvVmxXsaves.iSegReg;5878 bool const fIdxRegValid = !pExitInstrInfo-> InvVmxXsaves.fIdxRegInvalid;5879 uint8_t const iIdxReg = pExitInstrInfo-> InvVmxXsaves.iIdxReg;5880 uint8_t const uScale = pExitInstrInfo-> InvVmxXsaves.u2Scaling;5881 bool const fBaseRegValid = !pExitInstrInfo-> InvVmxXsaves.fBaseRegInvalid;5882 uint8_t const iBaseReg = pExitInstrInfo-> InvVmxXsaves.iBaseReg;5883 bool const fIsMemOperand = !pExitInstrInfo-> InvVmxXsaves.fIsRegOperand;5876 uint8_t const uAddrSize = pExitInstrInfo->All.u3AddrSize; 5877 uint8_t const iSegReg = pExitInstrInfo->All.iSegReg; 5878 bool const fIdxRegValid = !pExitInstrInfo->All.fIdxRegInvalid; 5879 uint8_t const iIdxReg = pExitInstrInfo->All.iIdxReg; 5880 uint8_t const uScale = pExitInstrInfo->All.u2Scaling; 5881 bool const fBaseRegValid = !pExitInstrInfo->All.fBaseRegInvalid; 5882 uint8_t const iBaseReg = pExitInstrInfo->All.iBaseReg; 5883 bool const fIsMemOperand = !pExitInstrInfo->All.fIsRegOperand; 5884 5884 bool const fIsLongMode = CPUMIsGuestInLongModeEx(&pVCpu->cpum.GstCtx); 5885 5885 … … 5901 5901 * See AMD spec. 4.5.2 "Segment Registers". 5902 5902 */ 5903 RTGCPTR GCPtrMem 5903 RTGCPTR GCPtrMem = GCPtrDisp; 5904 5904 if (fBaseRegValid) 5905 5905 GCPtrMem += pVCpu->cpum.GstCtx.aGRegs[iBaseReg].u64;
Note:
See TracChangeset
for help on using the changeset viewer.