Changeset 88495 in vbox
- Timestamp:
- Apr 13, 2021 4:45:31 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r88494 r88495 213 213 * Read-write masks for DMAR registers (group 0). 214 214 */ 215 static const uint32_t g_au32RwMasks0[] =215 static uint32_t const g_au32RwMasks0[] = 216 216 { 217 217 /* Offset Register Low High */ … … 303 303 * Read-only Status, Write-1-to-clear masks for DMAR registers (group 0). 304 304 */ 305 static const uint32_t g_au32Rw1cMasks0[] =305 static uint32_t const g_au32Rw1cMasks0[] = 306 306 { 307 307 /* Offset Register Low High */ … … 393 393 * Read-write masks for DMAR registers (group 1). 394 394 */ 395 static const uint32_t g_au32RwMasks1[] =395 static uint32_t const g_au32RwMasks1[] = 396 396 { 397 397 /* Offset Register Low High */ … … 417 417 * Read-only Status, Write-1-to-clear masks for DMAR registers (group 1). 418 418 */ 419 static const uint32_t g_au32Rw1cMasks1[] =419 static uint32_t const g_au32Rw1cMasks1[] = 420 420 { 421 421 /* Offset Register Low High */ … … 438 438 439 439 /** 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] };440 static uint8_t const *g_apbRwMasks[] = { (uint8_t *)&g_au32RwMasks0[0], (uint8_t *)&g_au32RwMasks1[0] }; 441 441 442 442 /** 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] };443 static uint8_t const *g_apbRw1cMasks[] = { (uint8_t *)&g_au32Rw1cMasks0[0], (uint8_t *)&g_au32Rw1cMasks1[0] }; 444 444 445 445 /* Masks arrays must be identical in size (even bounds checking code assumes this). */ … … 1171 1171 * The device registration structure. 1172 1172 */ 1173 const PDMDEVREGg_DeviceIommuIntel =1173 PDMDEVREG const g_DeviceIommuIntel = 1174 1174 { 1175 1175 /* .u32Version = */ PDM_DEVREG_VERSION,
Note:
See TracChangeset
for help on using the changeset viewer.

