Changeset 84714 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jun 6, 2020 10:01:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp
r84678 r84714 312 312 313 313 314 /** @interface_method_impl{PDMDEVHLPR0,pfnIoApicSendMsi} */315 static DECLCALLBACK(void) pdmR0DevHlp_IoApicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t uValue)316 {317 PDMDEV_ASSERT_DEVINS(pDevIns);318 LogFlow(("pdmR0DevHlp_IoApicSendMsi: caller=%p/%d: GCPhys=%RGp uValue=%#x\n", pDevIns, pDevIns->iInstance, GCPhys, uValue));319 PGVM pGVM = pDevIns->Internal.s.pGVM;320 321 uint32_t uTagSrc;322 pDevIns->Internal.s.pIntR3R0->uLastIrqTag = uTagSrc = pdmCalcIrqTag(pGVM, pDevIns->Internal.s.pInsR3R0->idTracing);323 VBOXVMM_PDM_IRQ_HILO(VMMGetCpu(pGVM), RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc));324 325 if (pGVM->pdm.s.IoApic.pDevInsR0)326 pGVM->pdm.s.IoApic.pfnSendMsiR0(pGVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc);327 else328 AssertFatalMsgFailed(("Lazy bastards!"));329 330 LogFlow(("pdmR0DevHlp_IoApicSendMsi: caller=%p/%d: returns void; uTagSrc=%#x\n", pDevIns, pDevIns->iInstance, uTagSrc));331 }332 333 334 314 /** @interface_method_impl{PDMDEVHLPR0,pfnPhysRead} */ 335 315 static DECLCALLBACK(int) pdmR0DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead, uint32_t fFlags) … … 1279 1259 pdmR0DevHlp_PCISetIrq, 1280 1260 pdmR0DevHlp_ISASetIrq, 1281 pdmR0DevHlp_IoApicSendMsi,1282 1261 pdmR0DevHlp_PhysRead, 1283 1262 pdmR0DevHlp_PhysWrite,
Note:
See TracChangeset
for help on using the changeset viewer.