VirtualBox

Changeset 87477 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 29, 2021 11:43:09 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 PDM IOMMU code de-duplication and cleanup.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r87439 r87477  
    30533053/** Command hardware failure. */
    30543054#define VERR_IOMMU_CMD_HW_ERROR                     (-7213)
     3055/** IOMMU device is not present. */
     3056#define VERR_IOMMU_NOT_PRESENT                      (-7214)
    30553057/** @} */
    30563058
  • trunk/include/VBox/vmm/pdmdev.h

    r87371 r87477  
    13201320     * @returns VBox status code.
    13211321     * @param   pDevIns     The IOMMU device instance.
    1322      * @param   uDevId      The device identifier (bus, device, function).
     1322     * @param   uDeviceId   The device identifier (bus, device, function).
    13231323     * @param   pMsiIn      The source MSI.
    13241324     * @param   pMsiOut     Where to store the remapped MSI.
     
    13261326     * @thread  Any.
    13271327     */
    1328     DECLR0CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDevId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1328    DECLR0CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    13291329
    13301330    /** Just a safety precaution. */
     
    13901390     * @returns VBox status code.
    13911391     * @param   pDevIns     The IOMMU device instance.
    1392      * @param   uDevId      The device identifier (bus, device, function).
     1392     * @param   uDeviceId   The device identifier (bus, device, function).
    13931393     * @param   pMsiIn      The source MSI.
    13941394     * @param   pMsiOut     Where to store the remapped MSI.
     
    13961396     * @thread  Any.
    13971397     */
    1398     DECLRCCALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDevId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1398    DECLRCCALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    13991399
    14001400    /** Just a safety precaution. */
     
    14601460     * @returns VBox status code.
    14611461     * @param   pDevIns     The IOMMU device instance.
    1462      * @param   uDevId      The device identifier (bus, device, function).
     1462     * @param   uDeviceId   The device identifier (bus, device, function).
    14631463     * @param   pMsiIn      The source MSI.
    14641464     * @param   pMsiOut     Where to store the remapped MSI.
     
    14661466     * @thread  Any.
    14671467     */
    1468     DECLR3CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDevId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1468    DECLR3CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    14691469
    14701470    /** Just a safety precaution. */
     
    18341834     * @returns status code.
    18351835     * @param   pDevIns     Device instance of the IOAPIC.
    1836      * @param   uDevId      The device ID (bus, device, function) for the source MSI.
     1836     * @param   uDeviceId   The device identifier (bus, device, function).
    18371837     * @param   pMsiIn      The source MSI.
    18381838     * @param   pMsiOut     Where to store the remapped MSI.
     
    18401840     * @sa      iommuAmdDeviceMsiRemap().
    18411841     */
    1842     DECLCALLBACKMEMBER(int, pfnIommuMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDevIt, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1842    DECLCALLBACKMEMBER(int, pfnIommuMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    18431843
    18441844    /** Just a safety precaution. */
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