Changeset 89098 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 17, 2021 1:58:09 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r89071 r89098 265 265 /** The I/O APIC chipset type. */ 266 266 IOAPICTYPE enmType; 267 /** The I/O APIC PCI address. */ 268 PCIBDF uPciAddress; 269 /** Padding. */ 270 uint32_t uPadding0; 267 271 268 272 #ifndef IOAPIC_WITH_PDM_CRITSECT … … 616 620 617 621 MSIMSG MsiOut; 618 int const rcRemap = pThisCC->pIoApicHlp->pfnIommuMsiRemap(pDevIns, VBOX_PCI_BDF_SB_IOAPIC, &MsiIn, &MsiOut);622 int const rcRemap = pThisCC->pIoApicHlp->pfnIommuMsiRemap(pDevIns, pThis->uPciAddress, &MsiIn, &MsiOut); 619 623 if ( rcRemap == VERR_IOMMU_NOT_PRESENT 620 624 || rcRemap == VERR_IOMMU_CANNOT_CALL_SELF) … … 1515 1519 * Validate and read the configuration. 1516 1520 */ 1517 PDMDEV_VALIDATE_CONFIG_RETURN(pDevIns, "NumCPUs|ChipType ", "");1521 PDMDEV_VALIDATE_CONFIG_RETURN(pDevIns, "NumCPUs|ChipType|PCIAddress", ""); 1518 1522 1519 1523 /* The number of CPUs is currently unused, but left in CFGM and saved-state in case an ID of 0 … … 1529 1533 if (RT_FAILURE(rc)) 1530 1534 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Configuration error: Failed to query string value \"ChipType\"")); 1535 1536 rc = pHlp->pfnCFGMQueryU32Def(pCfg, "PCIAddress", &pThis->uPciAddress, NIL_PCIBDF); 1537 if (RT_FAILURE(rc)) 1538 return PDMDEV_SET_ERROR(pDevIns, rc, N_("Configuration error: Failed to query 32-bit integer \"PCIAddress\"")); 1531 1539 1532 1540 if (!strcmp(szChipType, "ICH9"))
Note:
See TracChangeset
for help on using the changeset viewer.