[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.95.10.3 and 1.95.10.4

version 1.95.10.3, 2012/10/31 17:19:49 version 1.95.10.4, 2017/08/08 12:00:35
Line 1112  ENTRY(savectx)
Line 1112  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.95.10.3  
changed lines
  Added in v.1.95.10.4

CVSweb <webmaster@jp.NetBSD.org>