[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.145 and 1.145.6.1

version 1.145, 2017/02/02 19:12:09 version 1.145.6.1, 2017/07/05 19:59:29
Line 1239  ENTRY(savectx)
Line 1239  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.145  
changed lines
  Added in v.1.145.6.1

CVSweb <webmaster@jp.NetBSD.org>