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

version 1.93, 2010/07/24 00:45:54 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:
   
Line 1145  syscall1:
Line 1159  syscall1:
 #endif  #endif
 1:  1:
 #endif /* DIAGNOSTIC */  #endif /* DIAGNOSTIC */
         incl    CPUVAR(NSYSCALL)        # count it atomically          addl    $1,CPUVAR(NSYSCALL)     # count it atomically
           adcl    $0,CPUVAR(NSYSCALL)+4   # count it atomically
         movl    CPUVAR(CURLWP),%edi          movl    CPUVAR(CURLWP),%edi
         movl    L_PROC(%edi),%edx          movl    L_PROC(%edi),%edx
         movl    %esp,L_MD_REGS(%edi)    # save pointer to frame          movl    %esp,L_MD_REGS(%edi)    # save pointer to frame

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

CVSweb <webmaster@jp.NetBSD.org>