[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.123 and 1.124

version 1.123, 2016/05/15 07:01:36 version 1.124, 2016/05/15 07:17:53
Line 718  no_NOX:
Line 718  no_NOX:
         orl     $(PG_V|PG_KW),%eax          orl     $(PG_V|PG_KW),%eax
         fillkpt_nox          fillkpt_nox
   
         /*          /* Map [SYMS]+[PRELOADED MODULES] RWX. */
          * We actually have to be careful here. The memory layout is as  
          * follows:  
          *    +----------+---------------------+------------------+  
          *    | DATA+BSS < [PRELOADED MODULES] | BOOTSTRAP TABLES >  
          *    +----------+---------------------+------------------+  
          * We just map everything from < to > with RWX rights.  
          */  
         movl    $RELOC(__kernel_end),%eax          movl    $RELOC(__kernel_end),%eax
         movl    %esi,%ecx               /* start of BOOTSTRAP TABLES */          movl    %esi,%ecx               /* start of BOOTSTRAP TABLES */
         addl    RELOC(tablesize),%ecx   /* end of BOOTSTRAP TABLES */          subl    %eax,%ecx
         subl    %eax,%ecx               /* subtract end of kernel image */  
         shrl    $PGSHIFT,%ecx          shrl    $PGSHIFT,%ecx
         orl     $(PG_V|PG_KW),%eax          orl     $(PG_V|PG_KW),%eax
         fillkpt          fillkpt
   
           /* Map the BOOTSTRAP TABLES RW. */
           movl    %esi,%eax               /* start of BOOTSTRAP TABLES */
           movl    RELOC(tablesize),%ecx   /* length of BOOTSTRAP TABLES */
           shrl    $PGSHIFT,%ecx
           orl     $(PG_V|PG_KW),%eax
           fillkpt_nox
   
         /* We are on (4). Map ISA I/O mem (later atdevbase) RWX. */          /* We are on (4). Map ISA I/O mem (later atdevbase) RWX. */
         movl    $(IOM_BEGIN|PG_V|PG_KW/*|PG_N*/),%eax          movl    $(IOM_BEGIN|PG_V|PG_KW/*|PG_N*/),%eax
         movl    $(IOM_SIZE>>PGSHIFT),%ecx          movl    $(IOM_SIZE>>PGSHIFT),%ecx

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124

CVSweb <webmaster@jp.NetBSD.org>