[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.91.4.1 and 1.95.8.2

version 1.91.4.1, 2011/03/05 20:50:39 version 1.95.8.2, 2012/03/06 09:56:07
Line 238  _C_LABEL(tablesize): .long 0
Line 238  _C_LABEL(tablesize): .long 0
   
         .space 512          .space 512
 tmpstk:  tmpstk:
   #ifdef XEN
           .align          PAGE_SIZE, 0x0  # Align on page boundary
   _C_LABEL(tmpgdt):
           .space          PAGE_SIZE       # Xen expects a page
   #endif /* XEN */
           .globl tmpgdt
 #ifndef XEN  #ifndef XEN
 #define _RELOC(x)       ((x) - KERNBASE)  #define _RELOC(x)       ((x) - KERNBASE)
 #else  #else
Line 787  start:
Line 792  start:
         cpuid          cpuid
         movl    %eax,RELOC(cpuid_level)          movl    %eax,RELOC(cpuid_level)
   
           /*
            * Use a temp page. We'll re- add it to uvm(9) once we're
            * done using it.
            */
           movl    $RELOC(tmpgdt), %eax
           pushl   %eax            # start of temporary gdt
           call    _C_LABEL(initgdt)
           addl    $4,%esp
   
         call    xen_pmap_bootstrap          call    xen_pmap_bootstrap
   
         /*          /*
Line 1023  ENTRY(cpu_switchto)
Line 1037  ENTRY(cpu_switchto)
         /* Switch I/O bitmap */          /* Switch I/O bitmap */
         movl    PCB_IOMAP(%ebx),%eax          movl    PCB_IOMAP(%ebx),%eax
         orl     %eax,%eax          orl     %eax,%eax
         jnz,pn  .Lcopy_iobitmap          jnz     .Lcopy_iobitmap
         movl    $(IOMAP_INVALOFF << 16),CPUVAR(IOBASE)          movl    $(IOMAP_INVALOFF << 16),CPUVAR(IOBASE)
 .Liobitmap_done:  .Liobitmap_done:
   

Legend:
Removed from v.1.91.4.1  
changed lines
  Added in v.1.95.8.2

CVSweb <webmaster@jp.NetBSD.org>