vbox的更動 11794 路徑 trunk/src/VBox/Runtime/r3/init.cpp
- 時間撮記:
- 2008-8-29 上午09:13:37 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/r3/init.cpp
r11597 r11794 107 107 * @returns iprt status code. 108 108 * 109 * @param fInitSUPLib Set if SUP Init() shall be called during init (default).109 * @param fInitSUPLib Set if SUPR3Init() shall be called during init (default). 110 110 * 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. 117 112 */ 118 113 RTR3DECL(int) RTR3Init(bool fInitSUPLib, size_t cbReserve) … … 122 117 /* 123 118 * 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 126 121 * first one, the real init, is running (second assertion). 127 122 */ … … 133 128 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 134 129 if (fInitSUPLib) 135 SUP Init(NULL, cbReserve);136 #endif 130 SUPR3Init(NULL); 131 #endif 137 132 } 138 133 ASMAtomicWriteBool(&g_fInitializing, true); … … 177 172 * (The more time for updates before real use, the better.) 178 173 */ 179 SUP Init(NULL, cbReserve);174 SUPR3Init(NULL); 180 175 } 181 176 #endif
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器