Changeset 26160 in vbox for trunk/src/VBox/Devices/Bus/DevPCI.cpp
- Timestamp:
- Feb 2, 2010 6:23:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r26157 r26160 1977 1977 1978 1978 /** 1979 * Construct a host to PCI Bus device instance for a VM. 1980 * 1981 * @returns VBox status. 1982 * @param pDevIns The device instance data. 1983 * If the registration structure is needed, pDevIns->pDevReg points to it. 1984 * @param iInstance Instance number. Use this to figure out which registers and such to use. 1985 * The device number is also found in pDevIns->iInstance, but since it's 1986 * likely to be freqently used PDM passes it as parameter. 1987 * @param pCfgHandle Configuration node handle for the device. Use this to obtain the configuration 1988 * of the device instance. It's also found in pDevIns->pCfgHandle, but like 1989 * iInstance it's expected to be used a bit in this function. 1979 * @interface_method_impl{PDMDEVREG,pfnConstruct} 1990 1980 */ 1991 1981 static DECLCALLBACK(int) pciConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle) … … 2377 2367 2378 2368 /** 2379 * Construct a PCI bridge device instance for a VM. 2380 * 2381 * @returns VBox status. 2382 * @param pDevIns The device instance data. 2383 * If the registration structure is needed, pDevIns->pDevReg points to it. 2384 * @param iInstance Instance number. Use this to figure out which registers and such to use. 2385 * The device number is also found in pDevIns->iInstance, but since it's 2386 * likely to be freqently used PDM passes it as parameter. 2387 * @param pCfgHandle Configuration node handle for the device. Use this to obtain the configuration 2388 * of the device instance. It's also found in pDevIns->pCfgHandle, but like 2389 * iInstance it's expected to be used a bit in this function. 2369 * @interface_method_impl{PDMDEVREG,pfnConstruct} 2390 2370 */ 2391 2371 static DECLCALLBACK(int) pcibridgeConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
Note:
See TracChangeset
for help on using the changeset viewer.