summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_random.c
Commit message (Collapse)AuthorAgeFilesLines
* Update select -> poll in drivers.peter1997-09-141-13/+14
|
* don't #ifdef out reference to i586_ctr_freq.peter1997-05-041-3/+3
|
* Man the liferafts! Here comes the long awaited SMP -> -current merge!peter1997-04-261-3/+3
| | | | | | | | | | | | | | | | There are various options documented in i386/conf/LINT, there is more to come over the next few days. The kernel should run pretty much "as before" without the options to activate SMP mode. There are a handful of known "loose ends" that need to be fixed, but have been put off since the SMP kernel is in a moderately good condition at the moment. This commit is the result of the tinkering and testing over the last 14 months by many people. A special thanks to Steve Passe for implementing the APIC code!
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* More merge and update.asami1996-10-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | (1) deleted #if 0 pc98/pc98/mse.c (2) hold per-unit I/O ports in ed_softc pc98/pc98/if_ed.c pc98/pc98/if_ed98.h (3) merge more files by segregating changes into headers. new file (moved from pc98/pc98): i386/isa/aic_98.h deleted: well, it's already in the commit message so I won't repeat the long list here ;) Submitted by: The FreeBSD(98) Development Team
* Put I*86_CPU defines in opt_cpu.h.bde1996-10-091-3/+4
|
* I've been meaning to commit this for months. Implement select()peter1996-09-271-1/+30
| | | | | | for /dev/random and /dev/urandom. Both are always writable, urandom is always readable, and /dev/random is readable when >= 8 bits are in the pool.
* Eliminated i586_ctr_rate. Use i586_ctr_freq instead.bde1996-08-021-2/+2
|
* Reduced nesting of #includes in random.h and adjusted isa/random_machdep.cbde1996-06-171-1/+2
| | | | | | to match (pc98/random_machdep.c probably requires a similar change). This is a problem area for the PC98 merge - all PC98 ifdefs in <machine/*.h> are kludges to work around incorrect layering.
* Clean up -Wunused warnings.gpalmer1996-06-121-1/+3
| | | | Reviewed by: bde
* Replaced some memcpy()'s by bcopy()'s.bde1996-06-081-3/+3
| | | | | | | gcc only inlines memcpy()'s whose count is constant and didn't inline these. I want memcpy() in the kernel go away so that it's obvious that it doesn't need to be optimized. Now it is only used for one struct copy in si.c.
* Use rdtsc() function instead of inline essembler.bde1996-04-071-6/+2
|
* Removed never-used #includes of <machine/cpu.h>. Many were apparentlybde1996-04-071-2/+1
| | | | copied from bad examples.
* 1) ifdef out some unused functions (for now)markm1995-12-291-20/+26
| | | | | | | 2) improve 586 support 3) add 686 support 4) clean up comments etc Submitted by: bde
* 1) Add #include <machine/cpu.h> to catch some 586 #definesmarkm1995-12-281-2/+3
| | | | | 2) swap the 2 arguments to outb (kato) Pointed out by: Kato Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
* random_machdep.c: New version, also includes revectored interrupts, rathermarkm1995-12-271-204/+245
| | | | | than hooking permanently. vector.s: : Remove the interrupt hook. This is done dynamically, now.
* Renamed isa/random.c to isa/random_machdep.c to avoid a conflict withbde1995-12-261-0/+435
libkern/random.c.
OpenPOWER on IntegriCloud