- Timestamp:
- Feb 4, 2010 2:40:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/op_helper.c
r23640 r26237 524 524 for(i = 0; i < 6; i++) 525 525 stw_kernel(env->tr.base + (0x48 + i * 4), env->segs[i].selector); 526 #ifdef VBOX 527 /* Must store the ldt as it gets reloaded and might have been changed. */ 528 stw_kernel(env->tr.base + 0x60, env->ldt.selector); 529 #endif 526 530 #if defined(VBOX) && defined(DEBUG) 527 531 printf("TSS 32 bits switch\n"); … … 542 546 for(i = 0; i < 4; i++) 543 547 stw_kernel(env->tr.base + (0x22 + i * 4), env->segs[i].selector); 548 #ifdef VBOX 549 /* Must store the ldt as it gets reloaded and might have been changed. */ 550 stw_kernel(env->tr.base + 0x2a, env->ldt.selector); 551 #endif 544 552 } 545 553
Note:
See TracChangeset
for help on using the changeset viewer.