Changeset 101162 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Sep 18, 2023 8:03:52 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/mem.h
r98103 r101162 82 82 #endif 83 83 84 #ifdef IN_RING3 85 86 /** 87 * Native allocation worker for the heap-based RTMemPage implementation. 88 */ 89 DECLHIDDEN(int) rtMemPageNativeAlloc(size_t cb, uint32_t fFlags, void **ppvRet); 90 91 /** 92 * Native allocation worker for the heap-based RTMemPage implementation. 93 */ 94 DECLHIDDEN(int) rtMemPageNativeFree(void *pv, size_t cb); 95 96 /** 97 * Native page allocator worker that applies advisory flags to the memory. 98 * 99 * @returns Set of flags succesfully applied 100 * @param pv The memory block address. 101 * @param cb The size of the memory block. 102 * @param fFlags The flags to apply (may include other flags too, ignore). 103 */ 104 DECLHIDDEN(uint32_t) rtMemPageNativeApplyFlags(void *pv, size_t cb, uint32_t fFlags); 105 106 /** 107 * Reverts flags previously applied by rtMemPageNativeApplyFlags(). 108 * 109 * @param pv The memory block address. 110 * @param cb The size of the memory block. 111 * @param fFlags The flags to revert. 112 */ 113 DECLHIDDEN(void) rtMemPageNativeRevertFlags(void *pv, size_t cb, uint32_t fFlags); 114 115 #endif /* IN_RING3 */ 116 84 117 RT_C_DECLS_END 85 118
Note:
See TracChangeset
for help on using the changeset viewer.