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/amd64/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/amd64/isa/vector.S')
-rw-r--r-- | sys/amd64/isa/vector.S | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/amd64/isa/vector.S b/sys/amd64/isa/vector.S index 3b40769..0ac25dc 100644 --- a/sys/amd64/isa/vector.S +++ b/sys/amd64/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. */ \ |