VirtualBox

忽略:
時間撮記:
2010-2-2 下午06:23:29 (15 年 以前)
作者:
vboxsync
訊息:

PDM: s/pDevReg/pReg/g

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r26157 r26160  
    14721472            else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
    14731473            {
    1474                 Log(("%s/%d: warning: no driver attached to LUN #0!\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     1474                Log(("%s/%d: warning: no driver attached to LUN #0!\n", pDevIns->pReg->szDeviceName, pDevIns->iInstance));
    14751475                rc = VINF_SUCCESS;
    14761476            }
     
    14931493            else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
    14941494            {
    1495                 Log(("%s/%d: warning: no driver attached to LUN #1!\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance));
     1495                Log(("%s/%d: warning: no driver attached to LUN #1!\n", pDevIns->pReg->szDeviceName, pDevIns->iInstance));
    14961496                rc = VINF_SUCCESS;
    14971497            }
     
    15811581
    15821582/**
    1583  * Construct a device instance for a VM.
    1584  *
    1585  * @returns VBox status.
    1586  * @param   pDevIns     The device instance data.
    1587  *                      If the registration structure is needed, pDevIns->pDevReg points to it.
    1588  * @param   iInstance   Instance number. Use this to figure out which registers and such to use.
    1589  *                      The device number is also found in pDevIns->iInstance, but since it's
    1590  *                      likely to be freqently used PDM passes it as parameter.
    1591  * @param   pCfgHandle  Configuration node handle for the device. Use this to obtain the configuration
    1592  *                      of the device instance. It's also found in pDevIns->pCfgHandle, but like
    1593  *                      iInstance it's expected to be used a bit in this function.
     1583 * @interface_method_impl{PDMDEVREG,pfnConstruct}
    15941584 */
    15951585static DECLCALLBACK(int) kbdConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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