Changeset 72194 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 11, 2018 2:28:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r72181 r72194 1825 1825 * limit. 1826 1826 */ 1827 /** @todo Robert Collins claims (The Segment Descriptor Cache, DDJ August 1828 * 1998) that up to and including the Intel 486, far control 1829 * transfers in real mode set default CS attributes (0x93) and also 1830 * set a 64K segment limit. Starting with the Pentium, the 1831 * attributes and limit are left alone but the access rights are 1832 * ignored. We only implement the Pentium+ behavior. 1833 * */ 1827 1834 if (IEM_IS_REAL_OR_V86_MODE(pVCpu)) 1828 1835 { 1836 Assert(enmEffOpSize == IEMMODE_16BIT || enmEffOpSize == IEMMODE_32BIT); 1829 1837 if (offSeg > pCtx->cs.u32Limit) 1830 1838 { … … 1994 2002 * limit. 1995 2003 */ 2004 /** @todo See comment for similar code in iemCImpl_FarJmp */ 1996 2005 if (IEM_IS_REAL_OR_V86_MODE(pVCpu)) 1997 2006 { … … 2247 2256 * Real mode and V8086 mode are easy. 2248 2257 */ 2258 /** @todo See comment for similar code in iemCImpl_FarJmp */ 2249 2259 if (IEM_IS_REAL_OR_V86_MODE(pVCpu)) 2250 2260 { … … 2266 2276 pCtx->cs.u64Base = (uint32_t)uNewCs << 4; 2267 2277 pCtx->eflags.Bits.u1RF = 0; 2268 /** @todo do we load attribs and limit as well? */2269 2278 if (cbPop) 2270 2279 iemRegAddToRsp(pVCpu, pCtx, cbPop);
Note:
See TracChangeset
for help on using the changeset viewer.