Changeset 42816 in vbox for trunk/src/VBox
- Timestamp:
- Aug 15, 2012 4:34:59 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r42671 r42816 302 302 pVCpu->hwaccm.s.vmx.pGuestMSR = (uint8_t *)RTR0MemObjAddress(pVCpu->hwaccm.s.vmx.pMemObjGuestMSR); 303 303 pVCpu->hwaccm.s.vmx.pGuestMSRPhys = RTR0MemObjGetPagePhysAddr(pVCpu->hwaccm.s.vmx.pMemObjGuestMSR, 0); 304 Assert(!(pVCpu->hwaccm.s.vmx.pGuestMSRPhys & 0xf)); 304 305 memset(pVCpu->hwaccm.s.vmx.pGuestMSR, 0, PAGE_SIZE); 305 306 … … 312 313 pVCpu->hwaccm.s.vmx.pHostMSR = (uint8_t *)RTR0MemObjAddress(pVCpu->hwaccm.s.vmx.pMemObjHostMSR); 313 314 pVCpu->hwaccm.s.vmx.pHostMSRPhys = RTR0MemObjGetPagePhysAddr(pVCpu->hwaccm.s.vmx.pMemObjHostMSR, 0); 315 Assert(!(pVCpu->hwaccm.s.vmx.pHostMSRPhys & 0xf)); 314 316 memset(pVCpu->hwaccm.s.vmx.pHostMSR, 0, PAGE_SIZE); 315 317 #endif /* VBOX_WITH_AUTO_MSR_LOAD_RESTORE */
Note:
See TracChangeset
for help on using the changeset viewer.