Changeset 22325 in vbox
- Timestamp:
- Aug 18, 2009 2:38:03 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevice.cpp
r22277 r22325 880 880 /** 881 881 * Detaches the specified driver instance. 882 * 883 * This is used to replumb drivers at runtime for simulating hot plugging and 884 * media changes. 885 * 886 * This is a superset of PDMR3DeviceDetach. It allows detaching drivers from 887 * any driver or device by specifying the driver to start detaching at. The 888 * only prerequisite is that the driver or device above implements the 889 * pfnDetach callback (PDMDRVREG / PDMDEVREG). 890 * 882 * 883 * This is used to replumb drivers at runtime for simulating hot plugging and 884 * media changes. 885 * 886 * This is a superset of PDMR3DeviceDetach. It allows detaching drivers from 887 * any driver or device by specifying the driver to start detaching at. The 888 * only prerequisite is that the driver or device above implements the 889 * pfnDetach callback (PDMDRVREG / PDMDEVREG). 890 * 891 891 * @returns VBox status code. 892 892 * @param pVM VM Handle. … … 894 894 * @param iDevIns Device instance. 895 895 * @param iLun The Logical Unit in which to look for the driver. 896 * @param pszDriver The name of the driver which to detach. If NULL 896 * @param pszDriver The name of the driver which to detach. If NULL 897 897 * then the entire driver chain is detatched. 898 * @param iOccurance The occurance of that driver in the chain. This is 898 * @param iOccurance The occurance of that driver in the chain. This is 899 899 * usually 0. 900 900 * @param fFlags Flags, combination of the PDMDEVATT_FLAGS_* \#defines. 901 901 * @thread EMT 902 */ 903 VMMR3DECL(int) PDMR3DriverDetach(PVM pVM, const char *pszDevice, unsigned iDevIns, unsigned iLun, 902 */ 903 VMMR3DECL(int) PDMR3DriverDetach(PVM pVM, const char *pszDevice, unsigned iDevIns, unsigned iLun, 904 904 const char *pszDriver, unsigned iOccurance, uint32_t fFlags) 905 905 {
Note:
See TracChangeset
for help on using the changeset viewer.