VirtualBox

Changeset 88260 in vbox


Ignore:
Timestamp:
Mar 23, 2021 1:41:27 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143464
Message:

Intel IOMMU: bugref:9967 WIP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp

    r88258 r88260  
    405405AssertCompile(sizeof(g_au32Rw1cMasks1) == VTD_MMIO_GROUP_1_SIZE);
    406406
    407 /** Array of RW masks for all register groups. */
     407/** Array of RW masks for each register group. */
    408408static const uint8_t *g_apbRwMasks[]   = { (uint8_t *)&g_au32RwMasks0[0], (uint8_t *)&g_au32RwMasks1[0] };
    409409
    410 /** Array of RW1C masks for all register groups. */
     410/** Array of RW1C masks for each register group. */
    411411static const uint8_t *g_apbRw1cMasks[] = { (uint8_t *)&g_au32Rw1cMasks0[0], (uint8_t *)&g_au32Rw1cMasks1[0] };
    412412
     
    829829    /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE,
    830830    /* .fClass = */                 PDM_DEVREG_CLASS_PCI_BUILTIN,
    831     /* .cMaxInstances = */          ~0U,
     831    /* .cMaxInstances = */          1,
    832832    /* .uSharedVersion = */         42,
    833833    /* .cbInstanceShared = */       sizeof(IOMMU),
    834834    /* .cbInstanceCC = */           sizeof(IOMMUCC),
    835835    /* .cbInstanceRC = */           sizeof(IOMMURC),
    836     /* .cMaxPciDevices = */         1,
     836    /* .cMaxPciDevices = */         1,          /** @todo Make this 0 if this isn't a PCI device. */
    837837    /* .cMaxMsixVectors = */        0,
    838838    /* .pszDescription = */         "IOMMU (Intel)",
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