Changeset 73042 in vbox for trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
- Timestamp:
- Jul 11, 2018 2:28:44 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123602
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r73016 r73042 6033 6033 * 6034 6034 * @param pVCpu The cross context virtual CPU structure. 6035 * @param cb RIP increment value in bytes. 6036 * 6037 * @remarks Use this function only from \#VMEXIT's where the NRIP value is valid 6038 * when NRIP_SAVE is supported by the CPU, otherwise use 6039 * hmR0SvmAdvanceRipDumb! 6035 * @param cb RIP increment value in bytes when the CPU doesn't support 6036 * NRIP_SAVE. 6040 6037 */ 6041 6038 DECLINLINE(void) hmR0SvmAdvanceRipHwAssist(PVMCPU pVCpu, uint32_t cb) … … 6047 6044 PCSVMVMCB pVmcb = hmR0SvmGetCurrentVmcb(pVCpu); 6048 6045 Assert(pVmcb); 6049 Assert(pVmcb->ctrl.u64NextRIP);6050 6046 Assert(!(pCtx->fExtrn & CPUMCTX_EXTRN_RIP)); 6051 Assert Release(pVmcb->ctrl.u64NextRIP - pCtx->rip == cb); /* temporary, remove later */6047 Assert(pVmcb->ctrl.u64NextRIP - pCtx->rip == cb); 6052 6048 pCtx->rip = pVmcb->ctrl.u64NextRIP; 6053 6049 }
Note:
See TracChangeset
for help on using the changeset viewer.