Changeset 81961 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Nov 18, 2019 7:06:25 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134758
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r81950 r81961 1556 1556 /** Struct version+magic number (PDM_HPETREG_VERSION). */ 1557 1557 uint32_t u32Version; 1558 1559 1558 } PDMHPETREG; 1560 1559 /** Pointer to an HPET registration structure. */ … … 1618 1617 /** Structure version. PDM_HPETHLP_VERSION defines the current version. */ 1619 1618 uint32_t u32Version; 1620 1621 /**1622 * Gets the address of the RC HPET helpers.1623 *1624 * This should be called at both construction and relocation time1625 * to obtain the correct address of the RC helpers.1626 *1627 * @returns RC pointer to the HPET helpers.1628 * @param pDevIns Device instance of the HPET.1629 */1630 DECLR3CALLBACKMEMBER(PCPDMHPETHLPRC, pfnGetRCHelpers,(PPDMDEVINS pDevIns));1631 1632 /**1633 * Gets the address of the R0 HPET helpers.1634 *1635 * This should be called at both construction and relocation time1636 * to obtain the correct address of the R0 helpers.1637 *1638 * @returns R0 pointer to the HPET helpers.1639 * @param pDevIns Device instance of the HPET.1640 */1641 DECLR3CALLBACKMEMBER(PCPDMHPETHLPR0, pfnGetR0Helpers,(PPDMDEVINS pDevIns));1642 1619 1643 1620 /** … … 1673 1650 1674 1651 /** Current PDMHPETHLPR3 version number. */ 1675 #define PDM_HPETHLPR3_VERSION PDM_VERSION_MAKE(0xffec, 2, 0)1652 #define PDM_HPETHLPR3_VERSION PDM_VERSION_MAKE(0xffec, 3, 0) 1676 1653 1677 1654 … … 3787 3764 * helpers. 3788 3765 */ 3789 DECLR3CALLBACKMEMBER(int, pfnH PETRegister,(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPR3 *ppHpetHlpR3));3766 DECLR3CALLBACKMEMBER(int, pfnHpetRegister,(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPR3 *ppHpetHlpR3)); 3790 3767 3791 3768 /** … … 4688 4665 * @param ppPicHlp Where to return the ring-0 PIC helpers. 4689 4666 */ 4690 DECLR 0CALLBACKMEMBER(int, pfnPICSetUpContext,(PPDMDEVINS pDevIns, PPDMPICREG pPicReg, PCPDMPICHLP *ppPicHlp));4667 DECLRCCALLBACKMEMBER(int, pfnPICSetUpContext,(PPDMDEVINS pDevIns, PPDMPICREG pPicReg, PCPDMPICHLP *ppPicHlp)); 4691 4668 4692 4669 /** … … 4702 4679 * @param ppIoApicHlp Where to return the ring-0 IOAPIC helpers. 4703 4680 */ 4704 DECLR0CALLBACKMEMBER(int, pfnIoApicSetUpContext,(PPDMDEVINS pDevIns, PPDMIOAPICREG pIoApicReg, PCPDMIOAPICHLP *ppIoApicHlp)); 4681 DECLRCCALLBACKMEMBER(int, pfnIoApicSetUpContext,(PPDMDEVINS pDevIns, PPDMIOAPICREG pIoApicReg, PCPDMIOAPICHLP *ppIoApicHlp)); 4682 4683 /** 4684 * Sets up the HPET for the raw-mode context. 4685 * 4686 * This must be called after ring-3 has registered the PIC using 4687 * PDMDevHlpHpetRegister(). 4688 * 4689 * @returns VBox status code. 4690 * @param pDevIns The device instance. 4691 * @param pHpetReg The PIC registration information for raw-mode, 4692 * considered volatile and copied. 4693 * @param ppHpetHlp Where to return the raw-mode HPET helpers. 4694 */ 4695 DECLRCCALLBACKMEMBER(int, pfnHpetSetUpContext,(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPRC *ppHpetHlp)); 4705 4696 4706 4697 /** Space reserved for future members. … … 4727 4718 4728 4719 /** Current PDMDEVHLP version number. */ 4729 #define PDM_DEVHLPRC_VERSION PDM_VERSION_MAKE(0xffe6, 1 2, 0)4720 #define PDM_DEVHLPRC_VERSION PDM_VERSION_MAKE(0xffe6, 13, 0) 4730 4721 4731 4722 … … 5197 5188 DECLR0CALLBACKMEMBER(int, pfnIoApicSetUpContext,(PPDMDEVINS pDevIns, PPDMIOAPICREG pIoApicReg, PCPDMIOAPICHLP *ppIoApicHlp)); 5198 5189 5190 /** 5191 * Sets up the HPET for the ring-0 context. 5192 * 5193 * This must be called after ring-3 has registered the PIC using 5194 * PDMDevHlpHpetRegister(). 5195 * 5196 * @returns VBox status code. 5197 * @param pDevIns The device instance. 5198 * @param pHpetReg The PIC registration information for ring-0, 5199 * considered volatile and copied. 5200 * @param ppHpetHlp Where to return the ring-0 HPET helpers. 5201 */ 5202 DECLR0CALLBACKMEMBER(int, pfnHpetSetUpContext,(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPR0 *ppHpetHlp)); 5203 5199 5204 /** Space reserved for future members. 5200 5205 * @{ */ … … 5220 5225 5221 5226 /** Current PDMDEVHLP version number. */ 5222 #define PDM_DEVHLPR0_VERSION PDM_VERSION_MAKE(0xffe5, 1 3, 0)5227 #define PDM_DEVHLPR0_VERSION PDM_VERSION_MAKE(0xffe5, 14, 0) 5223 5228 5224 5229 … … 7715 7720 7716 7721 /** 7717 * @copydoc PDMDEVHLPR3::pfnH PETRegister7718 */ 7719 DECLINLINE(int) PDMDevHlpH PETRegister(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPR3 *ppHpetHlpR3)7720 { 7721 return pDevIns->pHlpR3->pfnH PETRegister(pDevIns, pHpetReg, ppHpetHlpR3);7722 * @copydoc PDMDEVHLPR3::pfnHpetRegister 7723 */ 7724 DECLINLINE(int) PDMDevHlpHpetRegister(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, PCPDMHPETHLPR3 *ppHpetHlpR3) 7725 { 7726 return pDevIns->pHlpR3->pfnHpetRegister(pDevIns, pHpetReg, ppHpetHlpR3); 7722 7727 } 7723 7728 … … 7860 7865 { 7861 7866 return pDevIns->CTX_SUFF(pHlp)->pfnIoApicSetUpContext(pDevIns, pIoApicReg, ppIoApicHlp); 7867 } 7868 7869 /** 7870 * @copydoc PDMDEVHLPR0::pfnHpetSetUpContext 7871 */ 7872 DECLINLINE(int) PDMDevHlpHpetSetUpContext(PPDMDEVINS pDevIns, PPDMHPETREG pHpetReg, CTX_SUFF(PCPDMHPETHLP) *ppHpetHlp) 7873 { 7874 return pDevIns->CTX_SUFF(pHlp)->pfnHpetSetUpContext(pDevIns, pHpetReg, ppHpetHlp); 7862 7875 } 7863 7876
Note:
See TracChangeset
for help on using the changeset viewer.