VirtualBox

Changeset 26173 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Feb 2, 2010 9:11:09 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57187
Message:

PDM: s/pCfgHandle/pCfg/g - part 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r26165 r26173  
    25162516 * @interface_method_impl{PDMDEVREG,pfnConstruct}
    25172517 */
    2518 static DECLCALLBACK(int) vmmdevConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
     2518static DECLCALLBACK(int) vmmdevConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg)
    25192519{
    25202520    int rc;
     
    25272527     * Validate and read the configuration.
    25282528     */
    2529     if (!CFGMR3AreValuesValid(pCfgHandle,
     2529    if (!CFGMR3AreValuesValid(pCfg,
    25302530                              "GetHostTimeDisabled\0"
    25312531                              "BackdoorLogDisabled\0"
     
    25352535        return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES;
    25362536
    2537     rc = CFGMR3QueryBoolDef(pCfgHandle, "GetHostTimeDisabled", &pThis->fGetHostTimeDisabled, false);
     2537    rc = CFGMR3QueryBoolDef(pCfg, "GetHostTimeDisabled", &pThis->fGetHostTimeDisabled, false);
    25382538    if (RT_FAILURE(rc))
    25392539        return PDMDEV_SET_ERROR(pDevIns, rc,
    25402540                                N_("Configuration error: Failed querying \"GetHostTimeDisabled\" as a boolean"));
    25412541
    2542     rc = CFGMR3QueryBoolDef(pCfgHandle, "BackdoorLogDisabled", &pThis->fBackdoorLogDisabled, false);
     2542    rc = CFGMR3QueryBoolDef(pCfg, "BackdoorLogDisabled", &pThis->fBackdoorLogDisabled, false);
    25432543    if (RT_FAILURE(rc))
    25442544        return PDMDEV_SET_ERROR(pDevIns, rc,
    25452545                                N_("Configuration error: Failed querying \"BackdoorLogDisabled\" as a boolean"));
    25462546
    2547     rc = CFGMR3QueryBoolDef(pCfgHandle, "KeepCredentials", &pThis->fKeepCredentials, false);
     2547    rc = CFGMR3QueryBoolDef(pCfg, "KeepCredentials", &pThis->fKeepCredentials, false);
    25482548    if (RT_FAILURE(rc))
    25492549        return PDMDEV_SET_ERROR(pDevIns, rc,
    25502550                                N_("Configuration error: Failed querying \"KeepCredentials\" as a boolean"));
    25512551
    2552     rc = CFGMR3QueryBoolDef(pCfgHandle, "HeapEnabled", &pThis->fHeapEnabled, true);
     2552    rc = CFGMR3QueryBoolDef(pCfg, "HeapEnabled", &pThis->fHeapEnabled, true);
    25532553    if (RT_FAILURE(rc))
    25542554        return PDMDEV_SET_ERROR(pDevIns, rc,
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