Changeset 50856 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Mar 24, 2014 2:11:10 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92946
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r49990 r50856 321 321 void *pvArg) 322 322 { 323 Assert(!fEnabledByHost); 324 Assert(HCPhysCpuPage && HCPhysCpuPage != NIL_RTHCPHYS); 325 Assert(RT_ALIGN_T(HCPhysCpuPage, _4K, RTHCPHYS) == HCPhysCpuPage); 326 Assert(pvCpuPage); 323 327 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 324 AssertReturn(!fEnabledByHost, VERR_INVALID_PARAMETER); 325 AssertReturn( HCPhysCpuPage 326 && HCPhysCpuPage != NIL_RTHCPHYS, VERR_INVALID_PARAMETER); 327 AssertReturn(pvCpuPage, VERR_INVALID_PARAMETER); 328 328 329 NOREF(pvArg); 329 330 NOREF(fEnabledByHost); -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r50749 r50856 742 742 static int hmR0VmxEnterRootMode(PVM pVM, RTHCPHYS HCPhysCpuPage, void *pvCpuPage) 743 743 { 744 AssertReturn(HCPhysCpuPage != 0 && HCPhysCpuPage != NIL_RTHCPHYS, VERR_INVALID_PARAMETER); 745 AssertReturn(pvCpuPage, VERR_INVALID_PARAMETER); 744 Assert(HCPhysCpuPage && HCPhysCpuPage != NIL_RTHCPHYS); 745 Assert(RT_ALIGN_T(HCPhysCpuPage, _4K, RTHCPHYS) == HCPhysCpuPage); 746 Assert(pvCpuPage); 746 747 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 747 748 … … 1046 1047 void *pvMsrs) 1047 1048 { 1048 Assert Return(pCpu, VERR_INVALID_PARAMETER);1049 Assert Return(pvMsrs, VERR_INVALID_PARAMETER);1049 Assert(pCpu); 1050 Assert(pvMsrs); 1050 1051 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 1051 1052
Note:
See TracChangeset
for help on using the changeset viewer.