1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

The SWI_NET_MASK and SWI_TTY_MASK handlers are now back adjacent to the

top of the hardware interrupt handlers.  Apparently this is slightly
faster with the bit scanning instruction that looks these up - this set of
changes reverts the original change.

Reviewed by: bde
This commit is contained in:
Peter Wemm 1997-05-31 08:59:51 +00:00
parent a24514dfdf
commit 0589fe3b6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26302
8 changed files with 43 additions and 27 deletions

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: apic_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: apic_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
@ -239,14 +239,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume12, Xresume13, Xresume14, Xresume15
.long Xresume16, Xresume17, Xresume18, Xresume19
.long Xresume20, Xresume21, Xresume22, Xresume23
.long 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long swi_tty, swi_net
.long 0, 0, 0, 0
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
.globl _ivectors
_ivectors:

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: icu_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
/*
@ -204,14 +204,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume4, Xresume5, Xresume6, Xresume7
.long Xresume8, Xresume9, Xresume10, Xresume11
.long Xresume12, Xresume13, Xresume14, Xresume15
.long swi_tty, swi_net
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
/*
* Interrupt counters and names. The format of these and the label names

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: icu_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
/*
@ -204,14 +204,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume4, Xresume5, Xresume6, Xresume7
.long Xresume8, Xresume9, Xresume10, Xresume11
.long Xresume12, Xresume13, Xresume14, Xresume15
.long swi_tty, swi_net
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
/*
* Interrupt counters and names. The format of these and the label names

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: icu_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
/*
@ -204,14 +204,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume4, Xresume5, Xresume6, Xresume7
.long Xresume8, Xresume9, Xresume10, Xresume11
.long Xresume12, Xresume13, Xresume14, Xresume15
.long swi_tty, swi_net
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
/*
* Interrupt counters and names. The format of these and the label names

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: apic_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: apic_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
@ -239,14 +239,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume12, Xresume13, Xresume14, Xresume15
.long Xresume16, Xresume17, Xresume18, Xresume19
.long Xresume20, Xresume21, Xresume22, Xresume23
.long 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long swi_tty, swi_net
.long 0, 0, 0, 0
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
.globl _ivectors
_ivectors:

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: apic_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: apic_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
@ -239,14 +239,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume12, Xresume13, Xresume14, Xresume15
.long Xresume16, Xresume17, Xresume18, Xresume19
.long Xresume20, Xresume21, Xresume22, Xresume23
.long 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long swi_tty, swi_net
.long 0, 0, 0, 0
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
.globl _ivectors
_ivectors:

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: icu_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
/*
@ -204,14 +204,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume4, Xresume5, Xresume6, Xresume7
.long Xresume8, Xresume9, Xresume10, Xresume11
.long Xresume12, Xresume13, Xresume14, Xresume15
.long swi_tty, swi_net
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
/*
* Interrupt counters and names. The format of these and the label names

View File

@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
* $Id: icu_vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
* $Id: icu_vector.s,v 1.1 1997/05/26 17:58:26 fsmp Exp $
*/
/*
@ -204,14 +204,16 @@ ihandlers: /* addresses of interrupt handlers */
.long Xresume4, Xresume5, Xresume6, Xresume7
.long Xresume8, Xresume9, Xresume10, Xresume11
.long Xresume12, Xresume13, Xresume14, Xresume15
.long swi_tty, swi_net
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long swi_tty, swi_net, _softclock, swi_ast
.long _softclock, swi_ast
imasks: /* masks for interrupt handlers */
.space NHWI*4 /* padding; HWI masks are elsewhere */
.long SWI_TTY_MASK, SWI_NET_MASK
.long 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.long SWI_TTY_MASK, SWI_NET_MASK, SWI_CLOCK_MASK, SWI_AST_MASK
.long SWI_CLOCK_MASK, SWI_AST_MASK
/*
* Interrupt counters and names. The format of these and the label names