VirtualBox

Ignore:
Timestamp:
Aug 21, 2020 9:52:12 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Declare registeration callbacks using DECLCALLBACK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r85825 r85860  
    44334433 * @thread  Any.
    44344434 */
    4435 static int iommuAmdDeviceMemRead(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbRead, PRTGCPHYS pGCPhysSpa)
     4435static DECLCALLBACK(int) iommuAmdDeviceMemRead(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbRead,
     4436                                               PRTGCPHYS pGCPhysSpa)
    44364437{
    44374438    /* Validate. */
     
    44694470 * @thread  Any.
    44704471 */
    4471 static int iommuAmdDeviceMemWrite(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbWrite, PRTGCPHYS pGCPhysSpa)
     4472static DECLCALLBACK(int) iommuAmdDeviceMemWrite(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbWrite,
     4473                                                PRTGCPHYS pGCPhysSpa)
    44724474{
    44734475    /* Validate. */
     
    47814783 * @param   pMsiOut     Where to store the remapped MSI.
    47824784 */
    4783 static int iommuAmdDeviceMsiRemap(PPDMDEVINS pDevIns, uint16_t uDevId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut)
     4785static DECLCALLBACK(int) iommuAmdDeviceMsiRemap(PPDMDEVINS pDevIns, uint16_t uDevId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut)
    47844786{
    47854787    /* Validate. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette