VirtualBox

Ignore:
Timestamp:
Apr 7, 2008 4:58:25 PM (17 years ago)
Author:
vboxsync
Message:

Don't try implement rtR0MemObjNativeAllocPhysNC without an optimal implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp

    r5999 r7783  
    178178#if 1
    179179    /*
    180      * Allocating 128KB for the low page pool can bit a bit exhausting on the kernel,
    181      * it frequnetly causes the entire box to lock up on startup.
     180     * Allocating 128KB continguous memory for the low page pool can bit a bit
     181     * exhausting on the kernel, it frequently causes the entire box to lock
     182     * up on startup.
    182183     *
    183184     * So, try allocate the memory using IOMallocAligned first and if we get any high
     
    372373int rtR0MemObjNativeAllocPhysNC(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest)
    373374{
     375#if 0
    374376    /** @todo rtR0MemObjNativeAllocPhys / darwin. */
    375377    return rtR0MemObjNativeAllocPhys(ppMem, cb, PhysHighest);
     378#endif
     379    return VERR_NOT_SUPPORTED;
    376380}
    377381
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