Changeset 26160 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Feb 2, 2010 6:23:29 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57174
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r26158 r26160 2514 2514 2515 2515 /** 2516 * Construct a device instance for a VM. 2517 * 2518 * @returns VBox status. 2519 * @param pDevIns The device instance data. 2520 * If the registration structure is needed, pDevIns->pDevReg points to it. 2521 * @param iInstance Instance number. Use this to figure out which registers and such to use. 2522 * The device number is also found in pDevIns->iInstance, but since it's 2523 * likely to be freqently used PDM passes it as parameter. 2524 * @param pCfgHandle Configuration node handle for the device. Use this to obtain the configuration 2525 * of the device instance. It's also found in pDevIns->pCfgHandle, but like 2526 * iInstance it's expected to be used a bit in this function. 2516 * @interface_method_impl{PDMDEVREG,pfnConstruct} 2527 2517 */ 2528 2518 static DECLCALLBACK(int) vmmdevConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle) … … 2697 2687 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) 2698 2688 { 2699 Log(("%s/%d: warning: no driver attached to LUN #0!\n", pDevIns->p DevReg->szDeviceName, pDevIns->iInstance));2689 Log(("%s/%d: warning: no driver attached to LUN #0!\n", pDevIns->pReg->szDeviceName, pDevIns->iInstance)); 2700 2690 rc = VINF_SUCCESS; 2701 2691 }
Note:
See TracChangeset
for help on using the changeset viewer.