VirtualBox

Changeset 49404 in vbox


Ignore:
Timestamp:
Nov 7, 2013 4:39:16 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0, HMSVMR0: Use IPRT.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r49275 r49404  
    563563        pVCpu->hm.s.svm.HCPhysMsrBitmap = RTR0MemObjGetPagePhysAddr(pVCpu->hm.s.svm.hMemObjMsrBitmap, 0 /* iPage */);
    564564        /* 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));
    566566    }
    567567
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r49403 r49404  
    993993            if (RT_FAILURE(rc))
    994994                goto cleanup;
    995             memset(pVCpu->hm.s.vmx.pvMsrBitmap, 0xff, PAGE_SIZE);
     995            ASMMemFill32(pVCpu->hm.s.vmx.pvMsrBitmap, PAGE_SIZE, UINT32_C(0xffffffff));
    996996        }
    997997
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette