VirtualBox

儲存庫 vbox 的更動 7783


忽略:
時間撮記:
2008-4-7 下午04:58:25 (17 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
29338
訊息:

Don't try implement rtR0MemObjNativeAllocPhysNC without an optimal implementation.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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