Changeset 100310 in vbox for trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp
- Timestamp:
- Jun 28, 2023 10:26:46 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp
r98103 r100310 47 47 #include <iprt/param.h> 48 48 #include <iprt/string.h> 49 #include <iprt/system.h> 49 50 50 51 #include <stdlib.h> … … 106 107 Assert(cb > 0); 107 108 NOREF(pszTag); 108 cb = RT _ALIGN_Z(cb, PAGE_SIZE);109 cb = RTSystemPageAlignSize(cb); 109 110 110 111 /* … … 143 144 AssertPtr(pv); 144 145 Assert(cb > 0); 145 Assert(!((uintptr_t)pv & PAGE_OFFSET_MASK));146 cb = RT _ALIGN_Z(cb, PAGE_SIZE);146 Assert(!((uintptr_t)pv & RTSystemGetPageOffsetMask())); 147 cb = RTSystemPageAlignSize(cb); 147 148 148 149 /*
Note:
See TracChangeset
for help on using the changeset viewer.