diff options
author | markm <markm@FreeBSD.org> | 1995-12-27 11:22:05 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1995-12-27 11:22:05 +0000 |
commit | c5d5c6d2374acd86b24112bff797c4fad83462d0 (patch) | |
tree | 51461c666665e1d85d90c51849397534fff56de3 /sys/i386/isa/vector.s | |
parent | 74527dd12845a2d0c6244ce3103891e01e17aa3c (diff) | |
download | FreeBSD-src-c5d5c6d2374acd86b24112bff797c4fad83462d0.zip FreeBSD-src-c5d5c6d2374acd86b24112bff797c4fad83462d0.tar.gz |
random_machdep.c: New version, also includes revectored interrupts, rather
than hooking permanently.
vector.s: : Remove the interrupt hook. This is done dynamically, now.
Diffstat (limited to 'sys/i386/isa/vector.s')
-rw-r--r-- | sys/i386/isa/vector.s | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/i386/isa/vector.s b/sys/i386/isa/vector.s index 3b40769..0ac25dc 100644 --- a/sys/i386/isa/vector.s +++ b/sys/i386/isa/vector.s @@ -1,6 +1,6 @@ /* * from: vector.s, 386BSD 0.1 unknown origin - * $Id: vector.s,v 1.14 1995/11/04 16:00:56 markm Exp $ + * $Id: vector.s,v 1.15 1995/12/23 16:53:57 davidg Exp $ */ #include <i386/isa/icu.h> @@ -39,12 +39,6 @@ #define MAYBE_PUSHL_ES #endif -#define ADDENTROPY(irq_num) \ - /* Add this interrupt to the pool of entropy */ \ - pushl $irq_num ; \ - call _add_interrupt_randomness ; \ - addl $4,%esp - /* * Macros for interrupt interrupt entry, call to handler, and exit. * @@ -184,8 +178,6 @@ Xresume/**/irq_num: ; \ movb %al,_imen + IRQ_BYTE(irq_num) ; \ outb %al,$icu+1 ; \ sti ; /* XXX _doreti repeats the cli/sti */ \ - /* Add this interrupt to the pool of entropy */ \ - ADDENTROPY(irq_num) ; \ MEXITCOUNT ; \ /* We could usually avoid the following jmp by inlining some of */ \ /* _doreti, but it's probably better to use less cache. */ \ |