[BACK]Return to locore.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/i386/locore.S between version 1.54 and 1.55

version 1.54, 2007/11/10 20:06:24 version 1.55, 2007/11/10 23:04:29
Line 773  ENTRY(cpu_switchto)
Line 773  ENTRY(cpu_switchto)
         jne     5f          jne     5f
   
         /* Restore thread-private %fs/%gs descriptors. */          /* Restore thread-private %fs/%gs descriptors. */
         movl    L_MD_FSD(%edi), %eax          movl    PCB_FSD(%ebx), %eax
         movl    L_MD_FSD+4(%edi), %edx          movl    PCB_FSD+4(%ebx), %edx
         movl    %eax, (GUFS_SEL*8)(%ecx)          movl    %eax, (GUFS_SEL*8)(%ecx)
         movl    %edx, (GUFS_SEL*8+4)(%ecx)          movl    %edx, (GUFS_SEL*8+4)(%ecx)
         movl    L_MD_GSD(%edi), %eax          movl    PCB_GSD(%ebx), %eax
         movl    L_MD_GSD+4(%edi), %edx          movl    PCB_GSD+4(%ebx), %edx
         movl    %eax, (GUGS_SEL*8)(%ecx)          movl    %eax, (GUGS_SEL*8)(%ecx)
         movl    %edx, (GUGS_SEL*8+4)(%ecx)          movl    %edx, (GUGS_SEL*8+4)(%ecx)
   

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

CVSweb <webmaster@jp.NetBSD.org>