VirtualBox

Changeset 89284 in vbox for trunk/include


Ignore:
Timestamp:
May 26, 2021 6:52:15 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 Address translation, WIP. Scaffolding for PASID (if and when we implement PASID in future).

File:
1 edited

Legend:

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

    r89274 r89284  
    660660                                                VBOX_PCI_DEVFN_MAKE(VBOX_PCI_DEV_SB_IOAPIC, VBOX_PCI_FN_SB_IOAPIC))
    661661
     662/**
     663 * A PCI PASID (Process Address Space ID).
     664 *
     665 * A PASID is 20 bits wide. We use bit 31 to indicate the PASID is invalid or not
     666 * present.
     667 */
     668typedef uint32_t PCIPASID;
     669/** PCIPASID: Invalid or not present. */
     670#define PCIPASID_F_INVALID          RT_BIT(31)
     671/** Nil PCIPASID value. */
     672#define NIL_PCIPASID                PCIPASID_F_INVALID
     673
     674
    662675#if defined(__cplusplus) && defined(IN_RING3)
    663676/* For RTStrPrintf(). */
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