Changeset 101496 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Oct 18, 2023 11:27:55 AM (15 months ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/NEMR3.cpp
r99370 r101496 103 103 "|VmxLbr" 104 104 #endif 105 #if defined(VBOX_VMM_TARGET_ARMV8) 106 "|VTimerInterrupt" 107 #endif 105 108 , 106 109 "" /* pszValidNodes */, "NEM" /* pszWho */, 0 /* uInstance */); … … 136 139 pVCpu->nem.s.fTrapXcptGpForLovelyMesaDrv = f; 137 140 } 141 142 #if defined(VBOX_VMM_TARGET_ARMV8) 143 /** @cfgm{/NEM/VTimerInterrupt, uint32_t} 144 * Specifies the interrupt identifier for the VTimer. */ 145 rc = CFGMR3QueryU32(pCfgNem, "VTimerInterrupt", &pVM->nem.s.u32GicPpiVTimer); 146 AssertLogRelRCReturn(rc, rc); 147 #endif 138 148 139 149 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin-armv8.cpp
r101234 r101496 70 70 * Defined Constants And Macros * 71 71 *********************************************************************************************************************************/ 72 73 74 /** @todo The vTimer PPI for the virt platform, make it configurable. */75 #define NEM_DARWIN_VTIMER_GIC_PPI_IRQ 1176 72 77 73 … … 1412 1408 TMCpuSetVTimerNextActivation(pVCpu, UINT64_MAX); 1413 1409 pVCpu->nem.s.fVTimerActivated = true; 1414 return GICPpiSet(pVCpu, NEM_DARWIN_VTIMER_GIC_PPI_IRQ, true /*fAsserted*/);1410 return GICPpiSet(pVCpu, pVM->nem.s.u32GicPpiVTimer, true /*fAsserted*/); 1415 1411 } 1416 1412 default: … … 1477 1473 { 1478 1474 /* Clear the interrupt. */ 1479 GICPpiSet(pVCpu, NEM_DARWIN_VTIMER_GIC_PPI_IRQ, false /*fAsserted*/);1475 GICPpiSet(pVCpu, pVM->nem.s.u32GicPpiVTimer, false /*fAsserted*/); 1480 1476 1481 1477 pVCpu->nem.s.fVTimerActivated = false;
Note:
See TracChangeset
for help on using the changeset viewer.