Bruce Evans
70e53371c4
Eliminated i586_ctr_rate. Use i586_ctr_freq instead.
1996-08-02 21:16:27 +00:00
Bruce Evans
f0ea07bffb
Reduced nesting of #includes in random.h and adjusted isa/random_machdep.c
...
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.
1996-06-17 16:47:43 +00:00
Gary Palmer
c23670e294
Clean up -Wunused warnings.
...
Reviewed by: bde
1996-06-12 05:11:41 +00:00
Bruce Evans
5e0fc49ea8
Replaced some memcpy()'s by bcopy()'s.
...
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.
1996-06-08 08:18:00 +00:00
Bruce Evans
bc4750691c
Use rdtsc() function instead of inline essembler.
1996-04-07 18:16:26 +00:00
Bruce Evans
6ffde942bf
Removed never-used #includes of <machine/cpu.h>. Many were apparently
...
copied from bad examples.
1996-04-07 17:39:28 +00:00
Mark Murray
aba89c509d
1) ifdef out some unused functions (for now)
...
2) improve 586 support
3) add 686 support
4) clean up comments etc
Submitted by: bde
1995-12-29 08:04:32 +00:00
Mark Murray
179c10f92d
1) Add #include <machine/cpu.h> to catch some 586 #defines
...
2) swap the 2 arguments to outb (kato)
Pointed out by: Kato Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
1995-12-28 17:09:14 +00:00
Mark Murray
0738b16169
random_machdep.c: New version, also includes revectored interrupts, rather
...
than hooking permanently.
vector.s: : Remove the interrupt hook. This is done dynamically, now.
1995-12-27 11:22:05 +00:00
Bruce Evans
337e9f0bd2
Renamed isa/random.c to isa/random_machdep.c to avoid a conflict with
...
libkern/random.c.
1995-12-26 12:50:24 +00:00