trunk/src/emu/cpu/i386/i386.c
| r20651 | r20652 | |
| 1190 | 1190 | cpustate->sreg[GS].selector = READ32(cpustate,tss+0x5c) & 0xffff; |
| 1191 | 1191 | i386_load_segment_descriptor(cpustate, GS); |
| 1192 | 1192 | /* For nested tasks, we write the outgoing task's selector to the back-link field of the new TSS, |
| 1193 | | and set the NT flag in the EFLAGS register before settings cr3 as the old tss address might be gone */ |
| 1193 | and set the NT flag in the EFLAGS register before setting cr3 as the old tss address might be gone */ |
| 1194 | 1194 | if(nested != 0) |
| 1195 | 1195 | { |
| 1196 | 1196 | WRITE32(cpustate,tss+0,old_task); |
| r20651 | r20652 | |
| 2803 | 2803 | if(!i386_translate_address(cpustate,TRANSLATE_DEBUG_MASK,&address,NULL)) |
| 2804 | 2804 | return 0; |
| 2805 | 2805 | |
| 2806 | address &= cpustate->a20_mask; |
| 2806 | 2807 | *data = cpustate->program->read_byte(address); |
| 2807 | 2808 | return 1; |
| 2808 | 2809 | } |