Changeset 13449 in vbox for trunk/src/recompiler
- Timestamp:
- Oct 21, 2008 3:22:56 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38232
- Location:
- trunk/src/recompiler/target-i386
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/helper.c
r13385 r13449 176 176 { 177 177 selector &= 0xffff; 178 #ifdef VBOX 179 unsigned flags = DESC_P_MASK | DESC_S_MASK | DESC_W_MASK; 180 181 if (seg == R_CS) 182 flags |= DESC_CS_MASK; 183 184 cpu_x86_load_seg_cache(env, seg, selector, 185 (selector << 4), 0xffff, flags); 186 #else 178 187 cpu_x86_load_seg_cache(env, seg, selector, 179 188 (selector << 4), 0xffff, 0); 189 #endif 180 190 } 181 191 -
trunk/src/recompiler/target-i386/op.c
r11982 r13449 1259 1259 sc->base = (selector << 4); 1260 1260 #ifdef VBOX 1261 sc->flags = 0; /* clear attributes */ 1261 sc->flags = DESC_P_MASK | DESC_S_MASK | DESC_W_MASK; 1262 if (PARAM1 == offsetof(CPUX86State,segs[R_CS])) 1263 sc->flags |= DESC_CS_MASK; 1262 1264 #endif 1263 1265 }
Note:
See TracChangeset
for help on using the changeset viewer.