VirtualBox

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


Ignore:
Timestamp:
May 6, 2020 4:50:36 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137775
Message:

AMD IOMMU: bugref:9654 Bits.

File:
1 edited

Legend:

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

    r83987 r84170  
    12611261     * @param   pDevIns     The IOMMU device instance.
    12621262     * @param   uDevId      The device identifier (bus, device, function).
    1263      * @param   uDva        The device virtual address being read.
     1263     * @param   uIova       The I/O virtual address being read.
    12641264     * @param   cbRead      The number of bytes being read.
    1265      * @param   pGCPhysOut  Where to store the translated physical address.
     1265     * @param   pGCPhysSpa  Where to store the translated system physical address.
    12661266     *
    12671267     * @thread  Any.
    12681268     */
    1269     DECLR0CALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbRead,
    1270                                           PRTGCPHYS pGCPhysOut));
     1269    DECLR0CALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbRead,
     1270                                          PRTGCPHYS pGCPhysSpa));
    12711271
    12721272    /**
     
    12761276     * @param   pDevIns     The IOMMU device instance.
    12771277     * @param   uDevId      The device identifier (bus, device, function).
    1278      * @param   uDva        The device virtual address being written.
     1278     * @param   uIova       The I/O virtual address being written.
    12791279     * @param   cbRead      The number of bytes being written.
    1280      * @param   pGCPhysOut  Where to store the translated physical address.
     1280     * @param   pGCPhysSpa  Where to store the translated system physical address.
    12811281     *
    12821282     * @thread  Any.
    12831283     */
    1284     DECLR0CALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbWrite,
    1285                                            PRTGCPHYS pGCPhysOut));
     1284    DECLR0CALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbWrite,
     1285                                           PRTGCPHYS pGCPhysSpa));
    12861286
    12871287    /** Just a safety precaution. */
     
    13121312     * @param   pDevIns     The IOMMU device instance.
    13131313     * @param   uDevId      The device identifier (bus, device, function).
    1314      * @param   uDva        The device virtual address.
     1314     * @param   uIova       The I/O virtual address being read.
    13151315     * @param   cbRead      The number of bytes being read.
    1316      * @param   pGCPhysOut  Where to store the translated physical address.
     1316     * @param   pGCPhysSpa  Where to store the translated system physical address.
    13171317     *
    13181318     * @thread  Any.
    13191319     */
    1320     DECLRCCALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbRead,
    1321                                           PRTGCPHYS pGCPhysOut));
     1320    DECLRCCALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbRead,
     1321                                          PRTGCPHYS pGCPhysSpa));
    13221322
    13231323    /**
     
    13271327     * @param   pDevIns     The IOMMU device instance.
    13281328     * @param   uDevId      The device identifier (bus, device, function).
    1329      * @param   uDva        The device virtual address being written.
     1329     * @param   uIova       The I/O virtual address being written.
    13301330     * @param   cbRead      The number of bytes being written.
    1331      * @param   pGCPhysOut  Where to store the translated physical address.
     1331     * @param   pGCPhysSpa  Where to store the translated system physical address.
    13321332     *
    13331333     * @thread  Any.
    13341334     */
    1335     DECLRCCALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbWrite,
    1336                                            PRTGCPHYS pGCPhysOut));
     1335    DECLRCCALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbWrite,
     1336                                           PRTGCPHYS pGCPhysSpa));
    13371337
    13381338    /** Just a safety precaution. */
     
    13631363     * @param   pDevIns     The IOMMU device instance.
    13641364     * @param   uDevId      The device identifier (bus, device, function).
    1365      * @param   uDva        The device virtual address being read.
     1365     * @param   uIova       The I/O virtual address being read.
    13661366     * @param   cbRead      The number of bytes being read.
    1367      * @param   pGCPhysOut  Where to store the translated physical address.
     1367     * @param   pGCPhysSpa  Where to store the translated system physical address.
    13681368     *
    13691369     * @thread  Any.
    13701370     */
    1371     DECLR3CALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbRead,
    1372                                           PRTGCPHYS pGCPhysOut));
     1371    DECLR3CALLBACKMEMBER(int, pfnMemRead,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbRead,
     1372                                          PRTGCPHYS pGCPhysSpa));
    13731373
    13741374    /**
     
    13781378     * @param   pDevIns     The IOMMU device instance.
    13791379     * @param   uDevId      The device identifier (bus, device, function).
    1380      * @param   uDva        The device virtual address being written.
     1380     * @param   uIova       The I/O virtual address being written.
    13811381     * @param   cbWrite     The number of bytes being written.
    1382      * @param   pGCPhysOut  Where to store the translated physical address.
     1382     * @param   pGCPhysSpa  Where to store the translated system physical address.
    13831383     *
    13841384     * @thread  Any.
    13851385     */
    1386     DECLR3CALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uDva, size_t cbWrite,
    1387                                            PRTGCPHYS pGCPhysOut));
     1386    DECLR3CALLBACKMEMBER(int, pfnMemWrite,(PPDMDEVINS pDevIns, uint16_t uDevId, uint64_t uIova, size_t cbWrite,
     1387                                           PRTGCPHYS pGCPhysSpa));
    13881388
    13891389    /** 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