From owner-cvs-sys Wed Dec 27 03:36:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA19451 for cvs-sys-outgoing; Wed, 27 Dec 1995 03:36:17 -0800 (PST) Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA19445 Wed, 27 Dec 1995 03:36:07 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.7.3/8.6.9) with ESMTP id NAA13524; Wed, 27 Dec 1995 13:36:02 +0200 (SAT) Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.3/8.6.9) with SMTP id NAA03212; Wed, 27 Dec 1995 13:35:45 +0200 (SAT) Message-Id: <199512271135.NAA03212@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host mark@localhost [127.0.0.1] didn't use HELO protocol To: Mark Murray cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa random_machdep.c vector.s Date: Wed, 27 Dec 1995 13:35:44 +0200 From: Mark Murray Sender: owner-cvs-sys@freebsd.org Precedence: bulk HEADS UP! 1) You will need to recompile usr.sbin/rndcontrol. 2) It is now possible to shoot yourself in the foot by hooking _any_ interrupt, so PLEASE BE CAREFUL! Only those interupts which trickle in should be used. Good choices: Intelligent SCSI controllers, Ethernet cards on not-too-busy nets and with fast CPUs, Console keyboard (EXCELLENT choice if it is used a lot) etc Bad choices: IDE controller (unless intelligent - ie it interrupts seldom) COM (serial) ports used for IP. Floppy controller. Sytem clocks. etc I am writing this up (slowly), so do not fear - it will be explained. :-) Mark Murray wrote: > markm 95/12/27 03:22:09 > > Modified: sys/i386/i386 mem.c > Log: > Modify the ioctl to handle revectored interrupts for the entropy gatherers. > > Revision Changes Path > 1.28 +30 -5 src/sys/i386/i386/mem.c > > Modified: sys/i386/include random.h > Log: > Clean up and make more universal. Next version of random device. > > Revision Changes Path > 1.2 +16 -5 src/sys/i386/include/random.h > > Modified: sys/i386/isa random_machdep.c vector.s > Log: > random_machdep.c: New version, also includes revectored interrupts, rather > than hooking permanently. > vector.s: : Remove the interrupt hook. This is done dynamically, now. > > Revision Changes Path > 1.2 +244 -203 src/sys/i386/isa/random_machdep.c > 1.16 +1 -9 src/sys/i386/isa/vector.s -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key