[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.112.6.1 and 1.113

version 1.112.6.1, 2017/07/20 01:42:39 version 1.113, 2014/08/17 21:17:43
Line 184  __KERNEL_RCSID(0, "$NetBSD$");
Line 184  __KERNEL_RCSID(0, "$NetBSD$");
         .ascii  ",PAE=yes[extended-cr3]"          .ascii  ",PAE=yes[extended-cr3]"
 #endif  #endif
         .ascii  ",LOADER=generic"          .ascii  ",LOADER=generic"
 #if (NKSYMS || defined(DDB) || defined(MODULAR)) && !defined(SYMTAB_SPACE)  #if (NKSYMS || defined(DDB) || defined(MODULAR)) && !defined(COPY_SYMTAB)
         .ascii  ",BSD_SYMTAB=yes"          .ascii  ",BSD_SYMTAB=yes"
 #endif  #endif
         .byte   0          .byte   0
Line 544  try586: /* Use the `cpuid' instruction. 
Line 544  try586: /* Use the `cpuid' instruction. 
         /* Find end of kernel image. */          /* Find end of kernel image. */
         movl    $RELOC(end),%edi          movl    $RELOC(end),%edi
   
 #if (NKSYMS || defined(DDB) || defined(MODULAR)) && !defined(SYMTAB_SPACE)  #if (NKSYMS || defined(DDB) || defined(MODULAR)) && !defined(COPY_SYMTAB)
         /* Save the symbols (if loaded). */          /* Save the symbols (if loaded). */
         movl    RELOC(esym),%eax          movl    RELOC(esym),%eax
         testl   %eax,%eax          testl   %eax,%eax
Line 1144  ENTRY(savectx)
Line 1144  ENTRY(savectx)
 END(savectx)  END(savectx)
   
 /*  /*
    * osyscall()
    *
    * Old call gate entry for syscall
    */
   IDTVEC(osyscall)
   #ifndef XEN
           /* XXX we are in trouble! interrupts be off here. */
           cli                     # must be first instruction
   #endif
           pushfl                  # set eflags in trap frame
           popl    8(%esp)
           orl     $PSL_I,8(%esp)  # re-enable ints on return to user
           pushl   $7              # size of instruction for restart
           jmp     syscall1
   IDTVEC_END(osyscall)
   
   /*
  * syscall()   * syscall()
  *   *
  * Trap gate entry for syscall   * Trap gate entry for syscall
  */   */
 IDTVEC(syscall)  IDTVEC(syscall)
         pushl   $2              # size of instruction for restart          pushl   $2              # size of instruction for restart
   syscall1:
         pushl   $T_ASTFLT       # trap # for doing ASTs          pushl   $T_ASTFLT       # trap # for doing ASTs
         INTRENTRY          INTRENTRY
         STI(%eax)          STI(%eax)

Legend:
Removed from v.1.112.6.1  
changed lines
  Added in v.1.113

CVSweb <webmaster@jp.NetBSD.org>