Changeset 97289 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Oct 25, 2022 7:56:51 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 154280
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMInline.h
r96852 r97289 1610 1610 1611 1611 /** 1612 * Updates the RIP/EIP/IP to point to the next instruction and clears EFLAGS.RF. 1612 * Updates the RIP/EIP/IP to point to the next instruction and clears EFLAGS.RF 1613 * and CPUMCTX_INHIBIT_SHADOW. 1613 1614 * 1614 1615 * @param pVCpu The cross context virtual CPU structure of the calling thread. … … 1617 1618 DECLINLINE(void) iemRegAddToRipAndClearRF(PVMCPUCC pVCpu, uint8_t cbInstr) 1618 1619 { 1619 pVCpu->cpum.GstCtx.eflags.Bits.u1RF = 0; 1620 1620 /* Clear RF and interrupt shadowing: */ 1621 AssertCompile(CPUMCTX_INHIBIT_SHADOW < UINT32_MAX); 1622 pVCpu->cpum.GstCtx.eflags.uBoth &= ~(X86_EFL_RF | CPUMCTX_INHIBIT_SHADOW); 1623 1624 /* Update RIP: */ 1625 #if ARCH_BITS >= 64 1621 1626 AssertCompile(IEMMODE_16BIT == 0 && IEMMODE_32BIT == 1 && IEMMODE_64BIT == 2); 1622 #if ARCH_BITS >= 641623 1627 static uint64_t const s_aRipMasks[] = { UINT64_C(0xffffffff), UINT64_C(0xffffffff), UINT64_MAX }; 1624 1628 Assert(pVCpu->cpum.GstCtx.rip <= s_aRipMasks[(unsigned)pVCpu->iem.s.enmCpuMode]);
Note:
See TracChangeset
for help on using the changeset viewer.