Changeset 97912 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
- Timestamp:
- Dec 29, 2022 10:47:38 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
r97911 r97912 109 109 { 110 110 pHdr->u32Magic += 1; 111 112 #ifdef RT_ARCH_AMD64 113 if (pHdr->fFlags & RTMEMHDR_FLAG_EXEC) 114 # ifdef USE_KMEM_ALLOC_PROT 115 kmem_free(kernel_map, (vm_offset_t)pHdr, pHdr->cb); 116 # else 117 vm_map_remove(kernel_map, (vm_offset_t)pHdr, ((vm_offset_t)pHdr) + pHdr->cb); 118 # endif 119 else 120 #endif 121 free(pHdr, M_IPRTHEAP); 111 free(pHdr, M_IPRTHEAP); 122 112 } 123 113
Note:
See TracChangeset
for help on using the changeset viewer.