Changeset 100308 in vbox for trunk/src/VBox/Runtime/common/misc
- Timestamp:
- Jun 28, 2023 10:24:38 AM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 158023
- Location:
- trunk/src/VBox/Runtime/common/misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/handletablectx.cpp
r98103 r100308 49 49 #include <iprt/string.h> 50 50 #include <iprt/asm.h> 51 #include <iprt/system.h> 51 52 #include "internal/magics.h" 52 53 #include "handletable.h" … … 118 119 uint32_t const iLevel1 = pThis->cCur / RTHT_LEVEL2_ENTRIES; 119 120 uint32_t cLevel1 = iLevel1 >= pThis->cLevel1 120 ? pThis->cLevel1 + PAGE_SIZE/ sizeof(void *)121 ? pThis->cLevel1 + RTSystemGetPageSize() / sizeof(void *) 121 122 : 0; 122 123 if (cLevel1 > pThis->cMax / RTHT_LEVEL2_ENTRIES) -
trunk/src/VBox/Runtime/common/misc/handletablesimple.cpp
r98103 r100308 49 49 #include <iprt/string.h> 50 50 #include <iprt/asm.h> 51 #include <iprt/system.h> 51 52 #include "internal/magics.h" 52 53 #include "handletable.h" … … 110 111 uint32_t const iLevel1 = pThis->cCur / RTHT_LEVEL2_ENTRIES; 111 112 uint32_t cLevel1 = iLevel1 >= pThis->cLevel1 112 ? pThis->cLevel1 + PAGE_SIZE/ sizeof(void *)113 ? pThis->cLevel1 + RTSystemGetPageSize() / sizeof(void *) 113 114 : 0; 114 115 if (cLevel1 > pThis->cMax / RTHT_LEVEL2_ENTRIES)
Note:
See TracChangeset
for help on using the changeset viewer.