- 時間撮記:
- 2013-3-13 下午08:57:11 (12 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/VMMDevInterface.cpp
r44528 r45029 746 746 747 747 /** 748 * Destruct a VMMDev driver instance. 749 * 750 * @returns VBox status. 751 * @param pDrvIns The driver instance data. 748 * @interface_method_impl{PDMDRVREG,pfnReset} 749 */ 750 DECLCALLBACK(void) VMMDev::drvReset(PPDMDRVINS pDrvIns) 751 { 752 LogFlow(("VMMDev::drvReset: iInstance=%d\n", pDrvIns->iInstance)); 753 #ifdef VBOX_WITH_HGCM 754 HGCMHostReset (); 755 #endif /* VBOX_WITH_HGCM */ 756 } 757 758 /** 759 * @interface_method_impl{PDMDRVREG,pfnDestruct} 752 760 */ 753 761 DECLCALLBACK(void) VMMDev::drvDestruct(PPDMDRVINS pDrvIns) 754 762 { 763 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 755 764 PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); 756 765 LogFlow(("VMMDev::drvDestruct: iInstance=%d\n", pDrvIns->iInstance)); 766 757 767 #ifdef VBOX_WITH_HGCM 758 768 /* HGCM is shut down on the VMMDev destructor. */ … … 763 773 764 774 /** 765 * Reset notification. 766 * 767 * @returns VBox status. 768 * @param pDrvIns The driver instance data. 769 */ 770 DECLCALLBACK(void) VMMDev::drvReset(PPDMDRVINS pDrvIns) 771 { 772 LogFlow(("VMMDev::drvReset: iInstance=%d\n", pDrvIns->iInstance)); 773 #ifdef VBOX_WITH_HGCM 774 HGCMHostReset (); 775 #endif /* VBOX_WITH_HGCM */ 776 } 777 778 /** 779 * Construct a VMMDev driver instance. 780 * 781 * @copydoc FNPDMDRVCONSTRUCT 775 * @interface_method_impl{PDMDRVREG,pfnConstruct} 782 776 */ 783 777 DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle, uint32_t fFlags) 784 778 { 779 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 785 780 PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); 786 781 LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器