Changeset 49404 in vbox
- Timestamp:
- Nov 7, 2013 4:39:16 AM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r49275 r49404 563 563 pVCpu->hm.s.svm.HCPhysMsrBitmap = RTR0MemObjGetPagePhysAddr(pVCpu->hm.s.svm.hMemObjMsrBitmap, 0 /* iPage */); 564 564 /* Set all bits to intercept all MSR accesses (changed later on). */ 565 ASMMemFill32(pVCpu->hm.s.svm.pvMsrBitmap, 2 << PAGE_SHIFT, 0xffffffff);565 ASMMemFill32(pVCpu->hm.s.svm.pvMsrBitmap, 2 << PAGE_SHIFT, UINT32_C(0xffffffff)); 566 566 } 567 567 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r49403 r49404 993 993 if (RT_FAILURE(rc)) 994 994 goto cleanup; 995 memset(pVCpu->hm.s.vmx.pvMsrBitmap, 0xff, PAGE_SIZE);995 ASMMemFill32(pVCpu->hm.s.vmx.pvMsrBitmap, PAGE_SIZE, UINT32_C(0xffffffff)); 996 996 } 997 997
Note:
See TracChangeset
for help on using the changeset viewer.