Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 1995 13:35:44 +0200
From:      Mark Murray <mark@grondar.za>
To:        Mark Murray <markm@freebsd.org>
Cc:        CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/isa random_machdep.c vector.s 
Message-ID:  <199512271135.NAA03212@grumble.grondar.za>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512271135.NAA03212>