Changeset 71091 in vbox
- Timestamp:
- Feb 22, 2018 8:46:51 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/vmm/cpum.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r70948 r71091 1480 1480 return HMIsGuestSvmXcptInterceptSet(pVCpu, pCtx, uVector); 1481 1481 } 1482 1483 /** 1484 * Updates the NextRIP (NRIP) field in the nested-guest VMCB. 1485 * 1486 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 1487 * @param pCtx Pointer to the context. 1488 * @param cbInstr The length of the current instruction in bytes. 1489 */ 1490 DECLINLINE(void) CPUMGuestSvmUpdateNRip(PVMCPU pVCpu, PCCPUMCTX pCtx, uint8_t cbInstr) 1491 { 1492 RT_NOREF(pVCpu); 1493 PSVMVMCB pVmcb = pCtx->hwvirt.svm.CTX_SUFF(pVmcb); 1494 Assert(pVmcb); 1495 pVmcb->ctrl.u64NextRIP = pCtx->rip + cbInstr; 1496 } 1482 1497 #endif /* !IN_RC */ 1483 1498
Note:
See TracChangeset
for help on using the changeset viewer.

