Previous 199869 Revisions Next

r20652 Friday 1st February, 2013 at 15:35:29 UTC by Carl
i386: forget this (nw)
[src/emu/cpu/i386]i386.c

trunk/src/emu/cpu/i386/i386.c
r20651r20652
11901190   cpustate->sreg[GS].selector = READ32(cpustate,tss+0x5c) & 0xffff;
11911191   i386_load_segment_descriptor(cpustate, GS);
11921192   /* 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 */
11941194   if(nested != 0)
11951195   {
11961196      WRITE32(cpustate,tss+0,old_task);
r20651r20652
28032803   if(!i386_translate_address(cpustate,TRANSLATE_DEBUG_MASK,&address,NULL))
28042804      return 0;
28052805
2806   address &= cpustate->a20_mask;
28062807   *data = cpustate->program->read_byte(address);
28072808   return 1;
28082809}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team