VirtualBox

Ignore:
Timestamp:
May 26, 2010 9:40:25 PM (15 years ago)
Author:
vboxsync
Message:

Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c

    r29831 r29832  
    6262    if (fFlags & RTMEMHDR_FLAG_EXEC)
    6363    {
    64 # if USE_KMEM_ALLOC_PROT
     64# ifdef USE_KMEM_ALLOC_PROT
    6565        pHdr = (PRTMEMHDR)kmem_alloc_prot(kernel_map, cb + sizeof(*pHdr),
    6666                                          VM_PROT_ALL, VM_PROT_ALL, KERNBASE);
     
    122122#ifdef RT_ARCH_AMD64
    123123    if (pHdr->fFlags & RTMEMHDR_FLAG_EXEC)
    124 # if USE_KMEM_ALLOC_PROT
     124# ifdef USE_KMEM_ALLOC_PROT
    125125        kmem_free(kernel_map, (vm_offset_t)pHdr, pHdr->cb);
    126126# else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette