Changeset 81719 in vbox for trunk/include
- Timestamp:
- Nov 6, 2019 8:22:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81706 r81719 2278 2278 2279 2279 /** Current PDMDEVHLPR3 version number. */ 2280 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 3 1, 0)2280 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 32, 0) 2281 2281 2282 2282 /** … … 3483 3483 /** 3484 3484 * Same as pfnSTAMRegister except that the name is specified in a 3485 * RTStrPrintf like fashion.3486 *3487 * @returns VBox status.3488 * @param pDevIns Device instance of the DMA.3489 * @param pvSample Pointer to the sample.3490 * @param enmType Sample type. This indicates what pvSample is3491 * pointing at.3492 * @param enmVisibility Visibility type specifying whether unused3493 * statistics should be visible or not.3494 * @param enmUnit Sample unit.3495 * @param pszDesc Sample description.3496 * @param pszName Sample name format string, unix path style. If3497 * this does not start with a '/', the default3498 * prefix will be prepended, otherwise it will be3499 * used as-is.3500 * @param ... Arguments to the format string.3501 */3502 DECLR3CALLBACKMEMBER(void, pfnSTAMRegisterF,(PPDMDEVINS pDevIns, void *pvSample, STAMTYPE enmType,3503 STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, const char *pszDesc,3504 const char *pszName, ...) RT_IPRT_FORMAT_ATTR(7, 8));3505 3506 /**3507 * Same as pfnSTAMRegister except that the name is specified in a3508 3485 * RTStrPrintfV like fashion. 3509 3486 * … … 3973 3950 DECLR3CALLBACKMEMBER(int, pfnThreadCreate,(PPDMDEVINS pDevIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDEV pfnThread, 3974 3951 PFNPDMTHREADWAKEUPDEV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)); 3952 3953 /** 3954 * Destroys a PDM thread. 3955 * 3956 * @returns VBox status code. 3957 * This reflects the success off destroying the thread and not the exit code 3958 * of the thread as this is stored in *pRcThread. 3959 * @param pDevIns The device instance. 3960 * @param pThread The thread to destroy. 3961 * @param pRcThread Where to store the thread exit code. Optional. 3962 * @thread The emulation thread (EMT). 3963 */ 3964 DECLR3CALLBACKMEMBER(int, pfnThreadDestroy,(PPDMDEVINS pDevIns, PPDMTHREAD pThread, int *pRcThread)); 3975 3965 3976 3966 /** … … 6869 6859 6870 6860 /** 6871 * @copydoc PDMDEVHLPR3::pfnSTAMRegisterF 6861 * Same as pfnSTAMRegister except that the name is specified in a 6862 * RTStrPrintf like fashion. 6863 * 6864 * @returns VBox status. 6865 * @param pDevIns Device instance of the DMA. 6866 * @param pvSample Pointer to the sample. 6867 * @param enmType Sample type. This indicates what pvSample is 6868 * pointing at. 6869 * @param enmVisibility Visibility type specifying whether unused 6870 * statistics should be visible or not. 6871 * @param enmUnit Sample unit. 6872 * @param pszDesc Sample description. 6873 * @param pszName Sample name format string, unix path style. If 6874 * this does not start with a '/', the default 6875 * prefix will be prepended, otherwise it will be 6876 * used as-is. 6877 * @param ... Arguments to the format string. 6872 6878 */ 6873 6879 DECLINLINE(void) RT_IPRT_FORMAT_ATTR(7, 8) PDMDevHlpSTAMRegisterF(PPDMDEVINS pDevIns, void *pvSample, STAMTYPE enmType, … … 7735 7741 7736 7742 /** 7743 * @copydoc PDMDEVHLPR3::pfnThreadDestroy 7744 */ 7745 DECLINLINE(int) PDMDevHlpThreadDestroy(PPDMDEVINS pDevIns, PPDMTHREAD pThread, int *pRcThread) 7746 { 7747 return pDevIns->pHlpR3->pfnThreadDestroy(pDevIns, pThread, pRcThread); 7748 } 7749 7750 /** 7737 7751 * @copydoc PDMDEVHLPR3::pfnSetAsyncNotification 7738 7752 */
Note:
See TracChangeset
for help on using the changeset viewer.