Changeset 92556 in vbox for trunk/include/VBox
- Timestamp:
- Nov 23, 2021 1:12:29 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/sup.h
r91836 r92556 1389 1389 * @returns VBox status. 1390 1390 * @param cPages Number of pages to allocate. 1391 * @param fFlags SUP_PAGE_ALLOC_F_XXX 1391 1392 * @param ppvPages Where to store the base pointer to the allocated pages. 1392 1393 */ 1393 SUPR3DECL(int) SUPR3PageAlloc(size_t cPages, void **ppvPages); 1394 SUPR3DECL(int) SUPR3PageAlloc(size_t cPages, uint32_t fFlags, void **ppvPages); 1395 1396 /** @name SUP_PAGE_ALLOC_F_XXX - SUPR3PageAlloc flags. 1397 * @{ */ 1398 /** Use large pages if available. */ 1399 #define SUP_PAGE_ALLOC_F_LARGE_PAGES RT_BIT_32(0) 1400 /** Advice that the allocated pages will probably be locked by 1401 * RTR0MemObjLockUser later, so play nice if needed. */ 1402 #define SUP_PAGE_ALLOC_F_FOR_LOCKING RT_BIT_32(1) 1403 /** Mask of valid flags. */ 1404 #define SUP_PAGE_ALLOC_F_VALID_MASK UINT32_C(0x00000003) 1405 /** @} */ 1394 1406 1395 1407 /**
Note:
See TracChangeset
for help on using the changeset viewer.