[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.50.2.2 and 1.50.2.3

version 1.50.2.2, 2007/09/24 10:56:48 version 1.50.2.3, 2007/09/25 12:58:11
Line 464  try586: /* Use the `cpuid' instruction. 
Line 464  try586: /* Use the `cpuid' instruction. 
         addl    $PGOFSET,%esi                   # page align up          addl    $PGOFSET,%esi                   # page align up
         andl    $~PGOFSET,%esi          andl    $~PGOFSET,%esi
   
           /* nkptp = (esi + ~L2_FRAME) >> L2_SHIFT; */
         movl    %esi,%eax          movl    %esi,%eax
         addl    $-L2_FRAME,%eax          addl    $~L2_FRAME,%eax
         shrl    $L2_SHIFT,%eax          shrl    $L2_SHIFT,%eax
         movl    %eax,RELOC(nkptp)+1*4  1:      movl    %eax,RELOC(nkptp)+1*4
   
           /* tablesize = (1 + UPAGES + nkptp) << PGSHIFT; */
         addl    $(1+UPAGES),%eax          addl    $(1+UPAGES),%eax
         shll    $PGSHIFT,%eax          shll    $PGSHIFT,%eax
         movl    %eax,RELOC(tablesize)          movl    %eax,RELOC(tablesize)
   
           /* ensure that nkptp covers bootstrap tables */
           addl    %esi,%eax
           addl    $~L2_FRAME,%eax
           shrl    $L2_SHIFT,%eax
           cmpl    %eax,RELOC(nkptp)+1*4
           jnz     1b
   
         /* Clear tables */          /* Clear tables */
         movl    %esi,%edi          movl    %esi,%edi
         xorl    %eax,%eax          xorl    %eax,%eax

Legend:
Removed from v.1.50.2.2  
changed lines
  Added in v.1.50.2.3

CVSweb <webmaster@jp.NetBSD.org>