VirtualBox

Changeset 87906 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Mar 2, 2021 6:14:39 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142992
Message:

AMD IOMMU: bugref:9654 Naming cleanup (uDeviceId -> idDevice etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdev.h

    r87797 r87906  
    12841284     * @returns VBox status code.
    12851285     * @param   pDevIns         The IOMMU device instance.
    1286      * @param   uDevId          The device identifier (bus, device, function).
     1286     * @param   idDevice        The device identifier (bus, device, function).
    12871287     * @param   uIova           The I/O virtual address being accessed.
    1288      * @param   cbAccess        The number of bytes being accessed.
     1288     * @param   cbIova          The size of the access.
    12891289     * @param   fFlags          Access flags, see PDMIOMMU_MEM_F_XXX.
    12901290     * @param   pGCPhysSpa      Where to store the translated system physical address.
     
    12941294     * @thread  Any.
    12951295     */
    1296     DECLR0CALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbAccess,
     1296    DECLR0CALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, uint64_t uIova, size_t cbIova,
    12971297                                            uint32_t fFlags, PRTGCPHYS pGCPhysSpa, size_t *pcbContiguous));
    12981298
     
    13031303     * @returns VBox status code.
    13041304     * @param   pDevIns         The IOMMU device instance.
    1305      * @param   uDevId          The device identifier (bus, device, function).
     1305     * @param   idDevice        The device identifier (bus, device, function).
    13061306     * @param   cIovas          The number of I/O virtual addresses being accessed.
    13071307     * @param   pauIovas        The I/O virtual addresses being accessed.
     
    13121312     * @thread  Any.
    13131313     */
    1314     DECLR0CALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, size_t cIovas, uint64_t const *pauIovas,
     1314    DECLR0CALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, size_t cIovas, uint64_t const *pauIovas,
    13151315                                                uint32_t fFlags, PRTGCPHYS paGCPhysSpa));
    13161316
     
    13201320     * @returns VBox status code.
    13211321     * @param   pDevIns     The IOMMU device instance.
    1322      * @param   uDeviceId   The device identifier (bus, device, function).
     1322     * @param   idDevice    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 uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1328    DECLR0CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t idDevice, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    13291329
    13301330    /** Just a safety precaution. */
     
    13541354     * @returns VBox status code.
    13551355     * @param   pDevIns         The IOMMU device instance.
    1356      * @param   uDevId          The device identifier (bus, device, function).
     1356     * @param   idDevice        The device identifier (bus, device, function).
    13571357     * @param   uIova           The I/O virtual address being accessed.
    1358      * @param   cbAccess        The number of bytes being accessed.
     1358     * @param   cbIova          The size of the access.
    13591359     * @param   fFlags          Access flags, see PDMIOMMU_MEM_F_XXX.
    13601360     * @param   pGCPhysSpa      Where to store the translated system physical address.
     
    13641364     * @thread  Any.
    13651365     */
    1366     DECLRCCALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbAccess,
     1366    DECLRCCALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, uint64_t uIova, size_t cbIova,
    13671367                                            uint32_t fFlags, PRTGCPHYS pGCPhysSpa, size_t *pcbContiguous));
    13681368
     
    13731373     * @returns VBox status code.
    13741374     * @param   pDevIns         The IOMMU device instance.
    1375      * @param   uDevId          The device identifier (bus, device, function).
     1375     * @param   idDevice        The device identifier (bus, device, function).
    13761376     * @param   cIovas          The number of I/O virtual addresses being accessed.
    13771377     * @param   pauIovas        The I/O virtual addresses being accessed.
     
    13821382     * @thread  Any.
    13831383     */
    1384     DECLRCCALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, size_t cIovas, uint64_t const *pauIovas,
     1384    DECLRCCALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, size_t cIovas, uint64_t const *pauIovas,
    13851385                                                uint32_t fFlags, PRTGCPHYS paGCPhysSpa));
    13861386
     
    13901390     * @returns VBox status code.
    13911391     * @param   pDevIns     The IOMMU device instance.
    1392      * @param   uDeviceId   The device identifier (bus, device, function).
     1392     * @param   idDevice    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 uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1398    DECLRCCALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t idDevice, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    13991399
    14001400    /** Just a safety precaution. */
     
    14241424     * @returns VBox status code.
    14251425     * @param   pDevIns         The IOMMU device instance.
    1426      * @param   uDevId          The device identifier (bus, device, function).
     1426     * @param   idDevice        The device identifier (bus, device, function).
    14271427     * @param   uIova           The I/O virtual address being accessed.
    1428      * @param   cbAccess        The number of bytes being accessed.
     1428     * @param   cbIova          The size of the access.
    14291429     * @param   fFlags          Access flags, see PDMIOMMU_MEM_F_XXX.
    14301430     * @param   pGCPhysSpa      Where to store the translated system physical address.
     
    14341434     * @thread  Any.
    14351435     */
    1436     DECLR3CALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbAccess,
     1436    DECLR3CALLBACKMEMBER(int, pfnMemAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, uint64_t uIova, size_t cbIova,
    14371437                                            uint32_t fFlags, PRTGCPHYS pGCPhysSpa, size_t *pcbContiguous));
    14381438
     
    14431443     * @returns VBox status code.
    14441444     * @param   pDevIns         The IOMMU device instance.
    1445      * @param   uDevId          The device identifier (bus, device, function).
     1445     * @param   idDevice        The device identifier (bus, device, function).
    14461446     * @param   cIovas          The number of I/O virtual addresses being accessed.
    14471447     * @param   pauIovas        The I/O virtual addresses being accessed.
     
    14521452     * @thread  Any.
    14531453     */
    1454     DECLR3CALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t uDevId, size_t cIovas, uint64_t const *pauIovas,
     1454    DECLR3CALLBACKMEMBER(int, pfnMemBulkAccess,(PPDMDEVINS pDevIns, uint16_t idDevice, size_t cIovas, uint64_t const *pauIovas,
    14551455                                                uint32_t fFlags, PRTGCPHYS paGCPhysSpa));
    14561456
     
    14601460     * @returns VBox status code.
    14611461     * @param   pDevIns     The IOMMU device instance.
    1462      * @param   uDeviceId   The device identifier (bus, device, function).
     1462     * @param   idDevice    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 uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1468    DECLR3CALLBACKMEMBER(int, pfnMsiRemap,(PPDMDEVINS pDevIns, uint16_t idDevice, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    14691469
    14701470    /** Just a safety precaution. */
     
    18881888     * @returns status code.
    18891889     * @param   pDevIns     Device instance of the IOAPIC.
    1890      * @param   uDeviceId   The device identifier (bus, device, function).
     1890     * @param   idDevice    The device identifier (bus, device, function).
    18911891     * @param   pMsiIn      The source MSI.
    18921892     * @param   pMsiOut     Where to store the remapped MSI.
     
    18941894     * @sa      iommuAmdDeviceMsiRemap().
    18951895     */
    1896     DECLCALLBACKMEMBER(int, pfnIommuMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDeviceId, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
     1896    DECLCALLBACKMEMBER(int, pfnIommuMsiRemap,(PPDMDEVINS pDevIns, uint16_t idDevice, PCMSIMSG pMsiIn, PMSIMSG pMsiOut));
    18971897
    18981898    /** Just a safety precaution. */
Note: See TracChangeset for help on using the changeset viewer.

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