Changeset 71108 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Feb 22, 2018 3:38:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp
r70913 r71108 6295 6295 } 6296 6296 6297 /** 6298 * Fast way for HM to access the IA32_SPEC_CTRL register. 6299 * 6300 * @returns The register value. 6301 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 6302 * @thread EMT(pVCpu) 6303 */ 6304 VMMR0_INT_DECL(uint64_t) CPUMR0GetGuestSpecCtrl(PVMCPU pVCpu) 6305 { 6306 return pVCpu->cpum.s.GuestMsrs.msr.SpecCtrl; 6307 } 6308 6309 6310 /** 6311 * Fast way for HM to access the IA32_SPEC_CTRL register. 6312 * 6313 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 6314 * @param uValue The new value. 6315 * @thread EMT(pVCpu) 6316 */ 6317 VMMR0_INT_DECL(void) CPUMR0SetGuestSpecCtrl(PVMCPU pVCpu, uint64_t uValue) 6318 { 6319 pVCpu->cpum.s.GuestMsrs.msr.SpecCtrl = uValue; 6320 } 6321 6297 6322 #endif /* IN_RING0 */ 6298 6323
Note:
See TracChangeset
for help on using the changeset viewer.