[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.84 and 1.85

version 1.84, 2009/03/08 16:03:31 version 1.85, 2009/03/21 14:41:29
Line 1079  END(savectx)
Line 1079  END(savectx)
  * Old call gate entry for syscall   * Old call gate entry for syscall
  */   */
 IDTVEC(osyscall)  IDTVEC(osyscall)
           cli                     # must be first instruction
         pushfl                  # set eflags in trap frame          pushfl                  # set eflags in trap frame
         popl    8(%esp)          popl    8(%esp)
           orl     $PSL_I,(%esp)   # re-enable ints on return to user
         pushl   $7              # size of instruction for restart          pushl   $7              # size of instruction for restart
         jmp     syscall1          jmp     syscall1
 IDTVEC_END(osyscall)  IDTVEC_END(osyscall)
Line 1095  IDTVEC(syscall)
Line 1097  IDTVEC(syscall)
 syscall1:  syscall1:
         pushl   $T_ASTFLT       # trap # for doing ASTs          pushl   $T_ASTFLT       # trap # for doing ASTs
         INTRENTRY          INTRENTRY
           STI(%eax)
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
         movl    CPUVAR(ILEVEL),%ebx          movl    CPUVAR(ILEVEL),%ebx
         testl   %ebx,%ebx          testl   %ebx,%ebx
Line 1181  IDTVEC(svr4_fasttrap)
Line 1184  IDTVEC(svr4_fasttrap)
         pushl   $2              # size of instruction for restart          pushl   $2              # size of instruction for restart
         pushl   $T_ASTFLT       # trap # for doing ASTs          pushl   $T_ASTFLT       # trap # for doing ASTs
         INTRENTRY          INTRENTRY
           STI(%eax)
         pushl   $RW_READER          pushl   $RW_READER
         pushl   $_C_LABEL(svr4_fasttrap_lock)          pushl   $_C_LABEL(svr4_fasttrap_lock)
         call    _C_LABEL(rw_enter)          call    _C_LABEL(rw_enter)

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85

CVSweb <webmaster@jp.NetBSD.org>