Changeset 97346 in vbox
- Timestamp:
- Oct 31, 2022 11:34:29 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r97333 r97346 768 768 if (RT_LIKELY((uint32_t)GCPtrFirst <= pVCpu->cpum.GstCtx.cs.u32Limit)) 769 769 { /* likely */ } 770 else /** @todo For CPUs older than the 386, we should not generate #GP here but wrap around! */770 else /** @todo For CPUs older than the 386, we should not generate \#GP here but wrap around! */ 771 771 iemRaiseSelectorBoundsJmp(pVCpu, X86_SREG_CS, IEM_ACCESS_INSTRUCTION); 772 772 cbMaxRead = pVCpu->cpum.GstCtx.cs.u32Limit - (uint32_t)GCPtrFirst + 1; … … 1005 1005 GCPtrNext32 += pVCpu->iem.s.cbOpcode; 1006 1006 if (GCPtrNext32 > pVCpu->cpum.GstCtx.cs.u32Limit) 1007 /** @todo For CPUs older than the 386, we should not generate #GP here but wrap around! */1007 /** @todo For CPUs older than the 386, we should not generate \#GP here but wrap around! */ 1008 1008 return iemRaiseSelectorBounds(pVCpu, X86_SREG_CS, IEM_ACCESS_INSTRUCTION); 1009 1009 cbToTryRead = pVCpu->cpum.GstCtx.cs.u32Limit - GCPtrNext32 + 1;
Note:
See TracChangeset
for help on using the changeset viewer.