Changeset 69148 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 20, 2017 2:50:34 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118457
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r69141 r69148 6554 6554 AssertCompile(IEMMODE_16BIT == 0 && IEMMODE_32BIT == 1 && IEMMODE_64BIT == 2); 6555 6555 #if ARCH_BITS >= 64 6556 static uint64_t const s_aRipMasks[] = { UINT64_C(0xffff ), UINT64_C(0xffffffff), UINT64_MAX };6556 static uint64_t const s_aRipMasks[] = { UINT64_C(0xffffffff), UINT64_C(0xffffffff), UINT64_MAX }; 6557 6557 Assert(pCtx->rip <= s_aRipMasks[(unsigned)pVCpu->iem.s.enmCpuMode]); 6558 6558 pCtx->rip = (pCtx->rip + cbInstr) & s_aRipMasks[(unsigned)pVCpu->iem.s.enmCpuMode]; … … 6561 6561 pCtx->rip += cbInstr; 6562 6562 else 6563 { 6564 static uint32_t const s_aEipMasks[] = { UINT32_C(0xffff), UINT32_MAX }; 6565 pCtx->eip = (pCtx->eip + cbInstr) & s_aEipMasks[(unsigned)pVCpu->iem.s.enmCpuMode]; 6566 } 6563 pCtx->eip += cbInstr; 6567 6564 #endif 6568 6565 }
Note:
See TracChangeset
for help on using the changeset viewer.