summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ipl.s
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-11 17:01:32 +0000
committerbde <bde@FreeBSD.org>1998-08-11 17:01:32 +0000
commitd22b2d54d1fee5411a395664783e84a200544832 (patch)
tree70d48400c4443b9a298b28c95a94509882503277 /sys/i386/isa/ipl.s
parent51ac0ee7af9186216e90f801948d7e6783502d3f (diff)
downloadFreeBSD-src-d22b2d54d1fee5411a395664783e84a200544832.zip
FreeBSD-src-d22b2d54d1fee5411a395664783e84a200544832.tar.gz
Register tty software interrupt handlers at run time using register_swi()
instead of at compile time using ifdefs. Use _swi_null instead of dummycamisr. CAM and dpt should call register_swi() instead of hacking on ihandlers[] directly.
Diffstat (limited to 'sys/i386/isa/ipl.s')
-rw-r--r--sys/i386/isa/ipl.s29
1 files changed, 1 insertions, 28 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s
index e6f4eb0..836ac48 100644
--- a/sys/i386/isa/ipl.s
+++ b/sys/i386/isa/ipl.s
@@ -36,7 +36,7 @@
*
* @(#)ipl.s
*
- * $Id: ipl.s,v 1.22 1998/07/27 16:51:33 jlemon Exp $
+ * $Id: ipl.s,v 1.23 1998/08/11 15:08:12 bde Exp $
*/
@@ -405,33 +405,6 @@ dummynetisr:
MCOUNT
ret
- ALIGN_TEXT
-dummycamisr:
- MCOUNT
- ret
-
-/*
- * This function will go away soon when register_swi() is used to register
- * the poll functions.
- */
- ALIGN_TEXT
-swi_tty:
- MCOUNT
-#include "cy.h"
-#if NCY > 0
- call _cypoll
-#endif
-#include "rc.h"
-#if NRC > 0
- call _rcpoll
-#endif
-#include "sio.h"
-#if NSIO > 0
- jmp _siopoll
-#else
- ret
-#endif
-
/*
* The arg is in a nonstandard place, so swi_dispatcher() can't be called
* directly and swi_generic() can't use ENTRY() or MCOUNT.
OpenPOWER on IntegriCloud