VirtualBox

Changeset 89312 in vbox for trunk/include


Ignore:
Timestamp:
May 27, 2021 10:44:15 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 Address translation, WIP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/iommu-intel.h

    r89256 r89312  
    504504
    505505/** First-Level Paging Entry. */
    506 typedef struct VTD_FLP_ENTRY_T
    507 {
    508     /** The first-level paging entry. */
    509     uint64_t        u;
    510 } VTD_FLP_ENTRY_T;
    511 /** Pointer to a first-level paging entry. */
    512 typedef VTD_FLP_ENTRY_T *PVTD_FLP_ENTRY_T;
    513 /** Pointer to a const first-level paging entry. */
    514 typedef VTD_FLP_ENTRY_T const *PCVTD_FLP_ENTRY_T;
     506typedef uint64_t VTD_FLP_ENTRY_T;
    515507/** @} */
    516508
     
    558550                            (R, W, X, IGN_6_3, RSVD_7, A, IGN_10_9, RSVD_11, ADDR, IGN_61_52, RSVD_62, IGN_63));
    559551
     552/** SL-PML5E: Valid mask. */
     553#define VTD_SLP_PML5E_VALID_MASK                                (  VTD_BF_SLP_ENTRY_R_MASK | VTD_BF_SLP_ENTRY_W_MASK \
     554                                                                 | VTD_BF_SLP_ENTRY_X_MASK | VTD_BF_SLP_ENTRY_IGN_6_3_MASK \
     555                                                                 | VTD_BF_SLP_ENTRY_A_MASK | VTD_BF_SLP_ENTRY_IGN_10_9_MASK \
     556                                                                 | VTD_BF_SLP_ENTRY_ADDR_MASK | VTD_BF_SLP_ENTRY_IGN_61_52_MASK \
     557                                                                 | VTD_BF_SLP_ENTRY_IGN_63_MASK)
     558
    560559/** Second-Level Paging Entry. */
    561 typedef struct VTD_SLP_ENTRY_T
    562 {
    563     /** The second-level paging entry. */
    564     uint64_t        u;
    565 } VTD_SLP_ENTRY_T;
     560typedef uint64_t VTD_SLP_ENTRY_T;
    566561/** Pointer to a second-level paging entry. */
    567 typedef VTD_SLP_ENTRY_T *PVTD_SLP_ENTRY_T;
     562typedef uint64_t *PVTD_SLP_ENTRY_T;
    568563/** Pointer to a const second-level paging entry. */
    569 typedef VTD_SLP_ENTRY_T const *PCVTD_SLP_ENTRY_T;
     564typedef uint64_t const *CPVTD_SLP_ENTRY_T;
    570565/** @} */
    571566
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