VirtualBox

Changeset 89288 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 26, 2021 9:17:48 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144634
Message:

Intel IOMMU: bugref:9967 Address translation, WIP.

File:
1 edited

Legend:

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

    r89284 r89288  
    667667 */
    668668typedef uint32_t PCIPASID;
    669 /** PCIPASID: Invalid or not present. */
    670 #define PCIPASID_F_INVALID          RT_BIT(31)
     669/** PCIPASID: Valid. */
     670#define PCIPASID_F_VALID            RT_BIT(31)
    671671/** Nil PCIPASID value. */
    672 #define NIL_PCIPASID                PCIPASID_F_INVALID
     672#define NIL_PCIPASID                UINT32_C(0)
     673/** Returns whether the PCI PASID is valid. */
     674#define PCIPASID_IS_VALID(a)        (((a) & PCIPASID_F_VALID) != 0)
     675/** Returns the PASID value of a PCI PASID. */
     676#define PCIPASID_VAL(a)             ((a) & UINT32_C(0xfffff))
    673677
    674678
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