VirtualBox

Changeset 88495 in vbox


Ignore:
Timestamp:
Apr 13, 2021 4:45:31 PM (3 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 WIP.

File:
1 edited

Legend:

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

    r88494 r88495  
    213213 * Read-write masks for DMAR registers (group 0).
    214214 */
    215 static const uint32_t g_au32RwMasks0[] =
     215static uint32_t const g_au32RwMasks0[] =
    216216{
    217217    /* Offset  Register                  Low                                        High */
     
    303303 * Read-only Status, Write-1-to-clear masks for DMAR registers (group 0).
    304304 */
    305 static const uint32_t g_au32Rw1cMasks0[] =
     305static uint32_t const g_au32Rw1cMasks0[] =
    306306{
    307307    /* Offset  Register                  Low                        High */
     
    393393 * Read-write masks for DMAR registers (group 1).
    394394 */
    395 static const uint32_t g_au32RwMasks1[] =
     395static uint32_t const g_au32RwMasks1[] =
    396396{
    397397    /* Offset  Register                  Low                                        High */
     
    417417 * Read-only Status, Write-1-to-clear masks for DMAR registers (group 1).
    418418 */
    419 static const uint32_t g_au32Rw1cMasks1[] =
     419static uint32_t const g_au32Rw1cMasks1[] =
    420420{
    421421    /* Offset  Register                  Low                                        High */
     
    438438
    439439/** Array of RW masks for each register group. */
    440 static const uint8_t *g_apbRwMasks[]   = { (uint8_t *)&g_au32RwMasks0[0], (uint8_t *)&g_au32RwMasks1[0] };
     440static uint8_t const *g_apbRwMasks[]   = { (uint8_t *)&g_au32RwMasks0[0], (uint8_t *)&g_au32RwMasks1[0] };
    441441
    442442/** Array of RW1C masks for each register group. */
    443 static const uint8_t *g_apbRw1cMasks[] = { (uint8_t *)&g_au32Rw1cMasks0[0], (uint8_t *)&g_au32Rw1cMasks1[0] };
     443static uint8_t const *g_apbRw1cMasks[] = { (uint8_t *)&g_au32Rw1cMasks0[0], (uint8_t *)&g_au32Rw1cMasks1[0] };
    444444
    445445/* Masks arrays must be identical in size (even bounds checking code assumes this). */
     
    11711171 * The device registration structure.
    11721172 */
    1173 const PDMDEVREG g_DeviceIommuIntel =
     1173PDMDEVREG const g_DeviceIommuIntel =
    11741174{
    11751175    /* .u32Version = */             PDM_DEVREG_VERSION,
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