VirtualBox

忽略:
時間撮記:
2008-8-29 上午09:13:37 (16 年 以前)
作者:
vboxsync
訊息:

SUP: SUPInit(ppSession=NULL, cbReserved=0) -> SUPR3Init(ppSession)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/init.cpp

    r11597 r11794  
    107107 * @returns iprt status code.
    108108 *
    109  * @param   fInitSUPLib     Set if SUPInit() shall be called during init (default).
     109 * @param   fInitSUPLib     Set if SUPR3Init() shall be called during init (default).
    110110 *                          Clear if not to call it.
    111  * @param   cbReserve       The number of bytes of contiguous memory that should be reserved by
    112  *                          the runtime / support library.
    113  *                          Set this to 0 if no reservation is required. (default)
    114  *                          Set this to ~0 if the maximum amount supported by the VM is to be
    115  *                          attempted reserved, or the maximum available.
    116  *                          This argument only applies if fInitSUPLib is true and we're in ring-3 HC.
     111 * @param   cbReserve       Ignored.
    117112 */
    118113RTR3DECL(int) RTR3Init(bool fInitSUPLib, size_t cbReserve)
     
    122117    /*
    123118     * Do reference counting, only initialize the first time around.
    124      * 
    125      * We are ASSUMING that nobody will be able to race RTR3Init calls when the 
     119     *
     120     * We are ASSUMING that nobody will be able to race RTR3Init calls when the
    126121     * first one, the real init, is running (second assertion).
    127122     */
     
    133128#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    134129        if (fInitSUPLib)
    135             SUPInit(NULL, cbReserve);
    136 #endif 
     130            SUPR3Init(NULL);
     131#endif
    137132    }
    138133    ASMAtomicWriteBool(&g_fInitializing, true);
     
    177172         * (The more time for updates before real use, the better.)
    178173         */
    179         SUPInit(NULL, cbReserve);
     174        SUPR3Init(NULL);
    180175    }
    181176#endif
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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