* SUCH DAMAGE.
*
* @(#)icu.s 7.2 (Berkeley) 5/21/91
+ *
+ * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE
+ * -------------------- ----- ----------------------
+ * CURRENT PATCH LEVEL: 2 00117
+ * -------------------- ----- ----------------------
+ *
+ * 28 Nov 92 Frank MacLachlan Aligned addresses and data
+ * on 32bit boundaries.
+ * 24 Mar 93 Rodney W. Grimes Added interrupt counters for vmstat
+ * also stray and false intr counters added
*/
/*
*/
.data
+ ALIGN32
.globl _imen
.globl _cpl
_cpl: .long 0xffff # current priority level (all off)
.globl _netmask
_netmask: .long 0
.globl _isa_intr
+ /*
+ * This is the names of the counters for vmstat added by
+ * rgrimes@agora.rain.com (Rodney W. Grimes) 10/30/1992
+ * Added false and stray counters 3/25/1993 rgrimes
+ */
+ .globl _intrcnt, _eintrcnt /* Added to make vmstat happy */
+ .globl _isa_false7_intrcnt, _isa_false15_intrcnt, _isa_stray_intrcnt
+_intrcnt: /* Added to make vmstat happy */
+_isa_false7_intrcnt:
+ .space 4 /* false IRQ7's */
+_isa_false15_intrcnt:
+ .space 4 /* false IRQ15's */
+_isa_stray_intrcnt:
+ .space 4 /* stray interrupts */
_isa_intr: .space 16*4
+_eintrcnt: /* Added to make vmstat happy */
.text
/*
* Handle return from interrupt after device handler finishes
*/
+ ALIGN32
doreti:
cli
popl %ebx # remove intr number
addl $8,%esp
iret
+ ALIGN32
1: cmpl $0,_netisr # check for softint s/traps
jne 1f
cmpl $0,_want_resched
#include "../net/netisr.h"
+ ALIGN32
1:
#define DONET(s, c) ; \
.globl _splhigh
.globl _splclock
+ ALIGN32
_splhigh:
_splclock:
cli # disable interrupts
ret
.globl _spltty # block clists
+ ALIGN32
_spltty:
cli # disable interrupts
NOP
.globl _splimp
.globl _splnet
+ ALIGN32
_splimp:
_splnet:
cli # disable interrupts
ret
.globl _splbio
+ ALIGN32
_splbio:
cli # disable interrupts
NOP
ret
.globl _splsoftclock
+ ALIGN32
_splsoftclock:
cli # disable interrupts
NOP
.globl _splnone
.globl _spl0
+ ALIGN32
_splnone:
_spl0:
cli # disable interrupts
ret
.globl _splx
+ ALIGN32
_splx:
cli # disable interrupts
NOP