Changeset 29832 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
- Timestamp:
- May 26, 2010 9:40:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
r29831 r29832 62 62 if (fFlags & RTMEMHDR_FLAG_EXEC) 63 63 { 64 # if USE_KMEM_ALLOC_PROT64 # ifdef USE_KMEM_ALLOC_PROT 65 65 pHdr = (PRTMEMHDR)kmem_alloc_prot(kernel_map, cb + sizeof(*pHdr), 66 66 VM_PROT_ALL, VM_PROT_ALL, KERNBASE); … … 122 122 #ifdef RT_ARCH_AMD64 123 123 if (pHdr->fFlags & RTMEMHDR_FLAG_EXEC) 124 # if USE_KMEM_ALLOC_PROT124 # ifdef USE_KMEM_ALLOC_PROT 125 125 kmem_free(kernel_map, (vm_offset_t)pHdr, pHdr->cb); 126 126 # else
Note:
See TracChangeset
for help on using the changeset viewer.