From 23936bbf455dbda14fe63ad0ffe028b6a64cdf0c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 27 Apr 2001 00:29:45 +0000 Subject: [PATCH] Initiate the deorbit burn sequence for sys/ipl.h by moving the software interrupt priorities over to sys/interrupt.h next to the software interrupt API. --- sys/sys/interrupt.h | 13 +++++++++++++ sys/sys/ipl.h | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h index 9c44d81a619..7788bcd98cc 100644 --- a/sys/sys/interrupt.h +++ b/sys/sys/interrupt.h @@ -82,6 +82,19 @@ struct ithd { #define SWI_SWITCH 0x1 #define SWI_DELAY 0x2 /* implies NOSWITCH */ +/* + * Software interrupt bit numbers in priority order. The priority only + * determines which swi will be dispatched next; a higher priority swi + * may be dispatched when a nested h/w interrupt handler returns. + */ +#define SWI_TTY 0 +#define SWI_NET 1 +#define SWI_CAMNET 2 +#define SWI_CAMBIO 3 +#define SWI_VM 4 +#define SWI_TQ 5 +#define SWI_CLOCK 6 + extern struct ithd *tty_ithd; extern struct ithd *clk_ithd; extern void *net_ih; diff --git a/sys/sys/ipl.h b/sys/sys/ipl.h index 009104d7f8c..94b567d9816 100644 --- a/sys/sys/ipl.h +++ b/sys/sys/ipl.h @@ -38,17 +38,4 @@ #include -/* - * Software interrupt bit numbers in priority order. The priority only - * determines which swi will be dispatched next; a higher priority swi - * may be dispatched when a nested h/w interrupt handler returns. - */ -#define SWI_TTY 0 -#define SWI_NET 1 -#define SWI_CAMNET 2 -#define SWI_CAMBIO 3 -#define SWI_VM 4 -#define SWI_TQ 5 -#define SWI_CLOCK 6 - #endif /* !_SYS_IPL_H_ */