Changeset 93554 in vbox for trunk/src/VBox/VMM/VMMR0/GIMR0Hv.cpp
- Timestamp:
- Feb 2, 2022 10:57:02 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149688
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GIMR0Hv.cpp
r93115 r93554 50 50 AssertPtr(pHCPhys); 51 51 52 int rc = RTR0MemObjAllocCont(pMemObj, PAGE_SIZE, false /* fExecutable */);52 int rc = RTR0MemObjAllocCont(pMemObj, HOST_PAGE_SIZE, false /* fExecutable */); 53 53 if (RT_FAILURE(rc)) 54 54 return rc; 55 55 *ppVirt = RTR0MemObjAddress(*pMemObj); 56 56 *pHCPhys = RTR0MemObjGetPagePhysAddr(*pMemObj, 0 /* iPage */); 57 ASMMemZero32(*ppVirt, PAGE_SIZE);57 ASMMemZero32(*ppVirt, HOST_PAGE_SIZE); 58 58 return VINF_SUCCESS; 59 59 }
Note:
See TracChangeset
for help on using the changeset viewer.