Changeset 92521 in vbox
- Timestamp:
- Nov 20, 2021 2:21:32 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR3/TRPM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TRPM.cpp
r92454 r92521 382 382 } 383 383 #endif 384 #ifdef RT_OS_WINDOWS 384 385 if (!VM_IS_NEM_ENABLED(pVM)) 385 386 { 387 #endif 386 388 rc = TRPMAssertTrap(pVCpu, u8Interrupt, TRPM_HARDWARE_INT); 387 389 AssertRC(rc); 390 #ifdef RT_OS_WINDOWS 388 391 } 389 392 else 390 393 { 391 #ifdef RT_OS_DARWIN392 /** @todo Can this be done prettier? NEM on darwin shares the R0 VMX code which relies on the same behavior as in the non NEM case. */393 rc = TRPMAssertTrap(pVCpu, u8Interrupt, TRPM_HARDWARE_INT);394 AssertRC(rc);395 #else396 394 VBOXSTRICTRC rcStrict = IEMInjectTrap(pVCpu, u8Interrupt, enmEvent, 0, 0, 0); 397 395 /** @todo NSTVMX: NSTSVM: We don't support nested VMX or nested SVM with NEM yet. … … 399 397 if (rcStrict != VINF_SUCCESS) 400 398 return VBOXSTRICTRC_TODO(rcStrict); 399 } 401 400 #endif 402 }403 401 STAM_REL_COUNTER_INC(&pVM->trpm.s.aStatForwardedIRQ[u8Interrupt]); 404 402 }
Note:
See TracChangeset
for help on using the changeset viewer.

