vbox的更動 26173 路徑 trunk/src/VBox/Devices/Input/DevPS2.cpp
- 時間撮記:
- 2010-2-2 下午09:11:09 (15 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r26169 r26173 1583 1583 * @interface_method_impl{PDMDEVREG,pfnConstruct} 1584 1584 */ 1585 static DECLCALLBACK(int) kbdConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg Handle)1585 static DECLCALLBACK(int) kbdConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg) 1586 1586 { 1587 1587 KBDState *pThis = PDMINS_2_DATA(pDevIns, KBDState *); … … 1596 1596 * Validate and read the configuration. 1597 1597 */ 1598 if (!CFGMR3AreValuesValid(pCfg Handle, "GCEnabled\0R0Enabled\0"))1598 if (!CFGMR3AreValuesValid(pCfg, "GCEnabled\0R0Enabled\0")) 1599 1599 return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES; 1600 rc = CFGMR3QueryBoolDef(pCfg Handle, "GCEnabled", &fGCEnabled, true);1600 rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fGCEnabled, true); 1601 1601 if (RT_FAILURE(rc)) 1602 1602 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to query \"GCEnabled\" from the config")); 1603 rc = CFGMR3QueryBoolDef(pCfg Handle, "R0Enabled", &fR0Enabled, true);1603 rc = CFGMR3QueryBoolDef(pCfg, "R0Enabled", &fR0Enabled, true); 1604 1604 if (RT_FAILURE(rc)) 1605 1605 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to query \"R0Enabled\" from the config"));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器