[BACK]Return to trap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/mips/mips/trap.c between version 1.209.2.2 and 1.209.2.3

version 1.209.2.2, 2007/06/09 23:55:18 version 1.209.2.3, 2007/07/15 22:20:25
Line 114  __KERNEL_RCSID(0, "$NetBSD$");
Line 114  __KERNEL_RCSID(0, "$NetBSD$");
 #include <mips/psl.h>  #include <mips/psl.h>
 #include <mips/userret.h>  #include <mips/userret.h>
   
 #include <net/netisr.h>  
   
 #ifdef DDB  #ifdef DDB
 #include <machine/db_machdep.h>  #include <machine/db_machdep.h>
 #include <ddb/db_sym.h>  #include <ddb/db_sym.h>
Line 578  trap(unsigned int status, unsigned int c
Line 576  trap(unsigned int status, unsigned int c
 }  }
   
 /*  /*
  * Software (low priority) network interrupt. i.e. softnet().  
  */  
 void  
 netintr(void)  
 {  
 #define DONETISR(bit, fn)                       \  
         do {                                    \  
                 if (n & (1 << bit))             \  
                         fn();                   \  
         } while (0)  
   
         int n;  
   
         n = netisr;  
         netisr = 0;  
   
 #include <net/netisr_dispatch.h>  
   
 #undef DONETISR  
 }  
   
 /*  
  * Handle asynchronous software traps.   * Handle asynchronous software traps.
  * This is called from MachUserIntr() either to deliver signals or   * This is called from MachUserIntr() either to deliver signals or
  * to make involuntary context switch (preemption).   * to make involuntary context switch (preemption).

Legend:
Removed from v.1.209.2.2  
changed lines
  Added in v.1.209.2.3

CVSweb <webmaster@jp.NetBSD.org>