Changeset 107118 in vbox
- Timestamp:
- Nov 22, 2024 11:32:14 AM (8 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmapic.h
r107117 r107118 624 624 * @param pVCpu The cross context virtual CPU structure. 625 625 */ 626 DECLR GCALLBACKMEMBER(bool, pfnIsEnabled, (PCVMCPUCC pVCpu));626 DECLRCCALLBACKMEMBER(bool, pfnIsEnabled, (PCVMCPUCC pVCpu)); 627 627 628 628 /** … … 632 632 * @param pVCpu The cross context virtual CPU structure. 633 633 */ 634 DECLR GCALLBACKMEMBER(void, pfnInitIpi, (PVMCPUCC pVCpu));634 DECLRCCALLBACKMEMBER(void, pfnInitIpi, (PVMCPUCC pVCpu)); 635 635 636 636 /** … … 641 641 * @param pVCpu The cross context virtual CPU structure. 642 642 */ 643 DECLR GCALLBACKMEMBER(uint64_t, pfnGetBaseMsrNoCheck, (PCVMCPUCC pVCpu));643 DECLRCCALLBACKMEMBER(uint64_t, pfnGetBaseMsrNoCheck, (PCVMCPUCC pVCpu)); 644 644 645 645 /** … … 650 650 * @param pu64Value Where to store the MSR value. 651 651 */ 652 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnGetBaseMsr, (PVMCPUCC pVCpu, uint64_t *pu64Value));652 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnGetBaseMsr, (PVMCPUCC pVCpu, uint64_t *pu64Value)); 653 653 654 654 /** … … 659 659 * @param u64BaseMsr The value to set. 660 660 */ 661 DECLR GCALLBACKMEMBER(int, pfnSetBaseMsr, (PVMCPUCC pVCpu, uint64_t u64BaseMsr));661 DECLRCCALLBACKMEMBER(int, pfnSetBaseMsr, (PVMCPUCC pVCpu, uint64_t u64BaseMsr)); 662 662 663 663 /** … … 668 668 * @param offReg The offset of the register being read. 669 669 */ 670 DECLR GCALLBACKMEMBER(uint32_t, pfnReadRaw32, (PCVMCPUCC pVCpu, uint16_t offReg));670 DECLRCCALLBACKMEMBER(uint32_t, pfnReadRaw32, (PCVMCPUCC pVCpu, uint16_t offReg)); 671 671 672 672 /** … … 678 678 * @param pu64Value Where to store the read value. 679 679 */ 680 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnReadMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t *pu64Value));680 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnReadMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t *pu64Value)); 681 681 682 682 /** … … 688 688 * @param u64Value The value to write. 689 689 */ 690 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnWriteMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t u64Value));690 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnWriteMsr, (PVMCPUCC pVCpu, uint32_t u32Reg, uint64_t u64Value)); 691 691 692 692 /** … … 701 701 * (optional, can be NULL). 702 702 */ 703 DECLR GCALLBACKMEMBER(int, pfnGetTpr, (PCVMCPUCC pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr));703 DECLRCCALLBACKMEMBER(int, pfnGetTpr, (PCVMCPUCC pVCpu, uint8_t *pu8Tpr, bool *pfPending, uint8_t *pu8PendingIntr)); 704 704 705 705 /** … … 715 715 * write. 716 716 */ 717 DECLR GCALLBACKMEMBER(int, pfnSetTpr, (PVMCPUCC pVCpu, uint8_t u8Tpr, bool fForceX2ApicBehaviour));717 DECLRCCALLBACKMEMBER(int, pfnSetTpr, (PVMCPUCC pVCpu, uint8_t u8Tpr, bool fForceX2ApicBehaviour)); 718 718 719 719 /** … … 724 724 * @param pVCpu The cross context virtual CPU structure. 725 725 */ 726 DECLR GCALLBACKMEMBER(uint64_t, pfnGetIcrNoCheck, (PVMCPUCC pVCpu));726 DECLRCCALLBACKMEMBER(uint64_t, pfnGetIcrNoCheck, (PVMCPUCC pVCpu)); 727 727 728 728 /** … … 740 740 * \#GP like a regular x2APIC access. 741 741 */ 742 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnSetIcr, (PVMCPUCC pVCpu, uint64_t uIcr, int rcRZ));742 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetIcr, (PVMCPUCC pVCpu, uint64_t uIcr, int rcRZ)); 743 743 744 744 /** … … 749 749 * @param pu64Value Where to store the timer frequency. 750 750 */ 751 DECLR GCALLBACKMEMBER(int, pfnGetTimerFreq, (PVMCC pVM, uint64_t *pu64Value));751 DECLRCCALLBACKMEMBER(int, pfnGetTimerFreq, (PVMCC pVM, uint64_t *pu64Value)); 752 752 753 753 /** … … 763 763 * @note All callers totally ignores the status code! 764 764 */ 765 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnSetLocalInterrupt, (PVMCPUCC pVCpu, uint8_t u8Pin, uint8_t u8Level, int rcRZ));765 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetLocalInterrupt, (PVMCPUCC pVCpu, uint8_t u8Pin, uint8_t u8Level, int rcRZ)); 766 766 767 767 /** … … 774 774 * @param puSrcTag Where to store the interrupt source tag (debugging). 775 775 */ 776 DECLR GCALLBACKMEMBER(int, pfnGetInterrupt, (PVMCPUCC pVCpu, uint8_t *pu8Vector, uint32_t *puTagSrc));776 DECLRCCALLBACKMEMBER(int, pfnGetInterrupt, (PVMCPUCC pVCpu, uint8_t *pu8Vector, uint32_t *puTagSrc)); 777 777 778 778 /** … … 794 794 * @thread Any. 795 795 */ 796 DECLR GCALLBACKMEMBER(bool, pfnPostInterrupt, (PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, bool fAutoEoi,796 DECLRCCALLBACKMEMBER(bool, pfnPostInterrupt, (PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, bool fAutoEoi, 797 797 uint32_t uSrcTag)); 798 798 … … 802 802 * @param pVCpu The cross context virtual CPU structure. 803 803 */ 804 DECLR GCALLBACKMEMBER(void, pfnUpdatePendingInterrupts, (PVMCPUCC pVCpu));804 DECLRCCALLBACKMEMBER(void, pfnUpdatePendingInterrupts, (PVMCPUCC pVCpu)); 805 805 806 806 /** … … 817 817 * @param uSrcTag The interrupt source tag (debugging). 818 818 */ 819 DECLR GCALLBACKMEMBER(int, pfnBusDeliver, (PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector,819 DECLRCCALLBACKMEMBER(int, pfnBusDeliver, (PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector, 820 820 uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uSrcTag)); 821 821 … … 829 829 * this write. 830 830 */ 831 DECLR GCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi, (PVMCPUCC pVCpu, uint32_t uEoi, bool fForceX2ApicBehaviour));831 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi, (PVMCPUCC pVCpu, uint32_t uEoi, bool fForceX2ApicBehaviour)); 832 832 833 833 /** @name Reserved for future (MBZ). 834 834 * @{ */ 835 DECLR GCALLBACKMEMBER(int, pfnReserved0, (void));836 DECLR GCALLBACKMEMBER(int, pfnReserved1, (void));837 DECLR GCALLBACKMEMBER(int, pfnReserved2, (void));838 DECLR GCALLBACKMEMBER(int, pfnReserved3, (void));839 DECLR GCALLBACKMEMBER(int, pfnReserved4, (void));840 DECLR GCALLBACKMEMBER(int, pfnReserved5, (void));841 DECLR GCALLBACKMEMBER(int, pfnReserved6, (void));842 DECLR GCALLBACKMEMBER(int, pfnReserved7, (void));843 DECLR GCALLBACKMEMBER(int, pfnReserved8, (void));844 DECLR GCALLBACKMEMBER(int, pfnReserved9, (void));845 DECLR GCALLBACKMEMBER(int, pfnReserved10, (void));835 DECLRCCALLBACKMEMBER(int, pfnReserved0, (void)); 836 DECLRCCALLBACKMEMBER(int, pfnReserved1, (void)); 837 DECLRCCALLBACKMEMBER(int, pfnReserved2, (void)); 838 DECLRCCALLBACKMEMBER(int, pfnReserved3, (void)); 839 DECLRCCALLBACKMEMBER(int, pfnReserved4, (void)); 840 DECLRCCALLBACKMEMBER(int, pfnReserved5, (void)); 841 DECLRCCALLBACKMEMBER(int, pfnReserved6, (void)); 842 DECLRCCALLBACKMEMBER(int, pfnReserved7, (void)); 843 DECLRCCALLBACKMEMBER(int, pfnReserved8, (void)); 844 DECLRCCALLBACKMEMBER(int, pfnReserved9, (void)); 845 DECLRCCALLBACKMEMBER(int, pfnReserved10, (void)); 846 846 /** @} */ 847 847 } PDMAPICBACKENDRC; … … 852 852 AssertCompileSizeAlignment(PDMAPICBACKENDRC, 8); 853 853 AssertCompile(sizeof(PDMAPICBACKENDR3) == sizeof(PDMAPICBACKENDR0)); 854 AssertCompile(sizeof(PDMAPICBACKENDR3) == sizeof(PDMAPICBACKENDRC));855 854 856 855 /** @typedef PDMAPICBACKENDR3 -
trunk/src/VBox/VMM/VMMAll/PDMAllApic.cpp
r107117 r107118 261 261 */ 262 262 VMM_INT_DECL(int) PDMApicBusDeliver(PVMCC pVM, uint8_t uDest, uint8_t uDestMode, uint8_t uDeliveryMode, uint8_t uVector, 263 uint8_t uPolarity, uint8_t uTriggerMode, uint32_t u TagSrc)263 uint8_t uPolarity, uint8_t uTriggerMode, uint32_t uSrcTag) 264 264 { 265 265 AssertReturn(PDM_TO_APICBACKEND(pVM)->pfnBusDeliver, VERR_INVALID_POINTER); 266 266 return PDM_TO_APICBACKEND(pVM)->pfnBusDeliver(pVM, uDest, uDestMode, uDeliveryMode, uVector, uPolarity, uTriggerMode, 267 u TagSrc);267 uSrcTag); 268 268 } 269 269
Note:
See TracChangeset
for help on using the changeset viewer.