Changeset 47324 in vbox for trunk/src/recompiler
- Timestamp:
- Jul 22, 2013 7:04:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op_helper.c
r47309 r47324 3325 3325 #ifdef TARGET_X86_64 3326 3326 /* NULL ss is allowed in long mode if cpl != 3*/ 3327 # ifndef VBOX 3327 3328 /* XXX: test CS64 ? */ 3328 3329 if ((env->hflags & HF_LMA_MASK) && rpl != 3) { 3329 # ifdef VBOX3330 if (!(e2 & DESC_A_MASK))3331 e2 = set_segment_accessed(new_cs, e2);3332 # endif3333 3330 cpu_x86_load_seg_cache(env, R_SS, new_ss, 3334 3331 0, 0xffffffff, … … 3338 3335 ss_e2 = DESC_B_MASK; /* XXX: should not be needed ? */ 3339 3336 } else 3337 # else /* VBOX */ 3338 if ((env->hflags & HF_LMA_MASK) && rpl != 3 && (e2 & DESC_L_MASK)) { 3339 if (!(e2 & DESC_A_MASK)) 3340 e2 = set_segment_accessed(new_cs, e2); 3341 cpu_x86_load_seg_cache(env, R_SS, new_ss, 3342 0, 0xffffffff, 3343 DESC_INTEL_UNUSABLE | (rpl << DESC_DPL_SHIFT) ); 3344 ss_e2 = DESC_B_MASK; /* not really used */ 3345 } else 3346 # endif 3340 3347 #endif 3341 3348 {
Note:
See TracChangeset
for help on using the changeset viewer.