bde
2aabf94037
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
bde
b4a0a5c2e5
Use rdtsc() function instead of inline essembler.
1996-04-07 18:16:26 +00:00
bde
d75a1370e4
Removed never-used #includes of <machine/cpu.h>. Many were apparently
...
copied from bad examples.
1996-04-07 17:39:28 +00:00
markm
79b9c69957
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
markm
759619ec43
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
markm
c5d5c6d237
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
bde
30090aa281
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