62754 Commits

Author SHA1 Message Date
jdolecek
a6cb6fe4ee Log the optimization changes only if DEBUG. Fixes kern/9697 2000-03-29 08:46:57 +00:00
soda
aea5721be9 from i386 port revision 1.5 by Tsugutomo Enami:
Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 06:45:35 +00:00
deberg
3a9315446b clarify syslog facility, fixes bin/9693 2000-03-29 06:04:49 +00:00
deberg
e028b266a6 fix UVM whatis entry, fixes kern/9692 2000-03-29 06:00:42 +00:00
enami
78d601b7d4 Fix typo in comment. 2000-03-29 04:56:47 +00:00
simonb
b2a7dc176d Remove redundant decl for uvmspace_fork() - it's in <uvm/uvm_extern.h>. 2000-03-29 04:05:47 +00:00
simonb
bd11640b2c Remove redundant decl of rootvp - it's in <sys/systm.h>. 2000-03-29 04:03:08 +00:00
simonb
365daa37be Remove redundant decl of cold - it's in <sys/kernel.h>. 2000-03-29 03:59:43 +00:00
simonb
8a447f3757 Remove reduncdant decl of wdc_kill_pending - it's in <dev/ic/wdcvar.h>. 2000-03-29 03:56:53 +00:00
simonb
9308187dbf Remove redundant decl of consinit() - it's in <sys/systm.h>.
Remove duplicate definition of delay() - we only need one in this file.
2000-03-29 03:54:03 +00:00
simonb
0edd529101 Extern declaration of cputype. 2000-03-29 03:50:40 +00:00
simonb
5b911637a1 Remove redundant decl for phys_map - it's in <vm/vm_kern.h>. 2000-03-29 03:49:48 +00:00
simonb
868578431b Remove redundant decl for physmem - it's in <sys/systm.h>. 2000-03-29 03:49:02 +00:00
simonb
e764ed49e6 Remove redundant decl of msgbufmapped - it's in <sys/msgbuf.h>. 2000-03-29 03:48:20 +00:00
simonb
0fd09c8496 Don't need to include <sys/conf.h> here. 2000-03-29 03:43:33 +00:00
enami
a1e356450f Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 03:43:32 +00:00
simonb
9ff7681a33 Don't need to include <sys/conf.h> here. 2000-03-29 03:43:31 +00:00
simonb
4471772be4 Multiple include protection. 2000-03-29 03:41:07 +00:00
simonb
56fba1c4d0 Remove duplicate declaration of ifindex2ifnet - it's in <net/if.h>. 2000-03-29 03:38:53 +00:00
simonb
fe30fe7adf Extern etherbroadcastaddr, ether_ipmulticast_min and ether_ipmulticast_max. 2000-03-29 03:36:32 +00:00
simonb
25b33c13f4 Extern the declarations of ifindex2ifnet and if_index. 2000-03-29 03:27:59 +00:00
simonb
4ca596f6a0 Don't prototype __assert() if not STANDALONE - <sys/systm.h> has already
included <lib/libkern/libkern.h> to get the prototype by this stage.

XXX: should we just change <sys/systm.h> from
	#ifdef _KERNEL
	#include <sys/systm.h>
	#endif
     to
	#if defined(_KERNEL) || defined(_STANDALONE)
	#include <sys/systm.h>
	#endif
     anyways?
2000-03-29 03:19:52 +00:00
enami
4feca5e9ea Remove unnecessary cast in previous. Pointed out by shin@netbsd.org. 2000-03-29 03:09:15 +00:00
simonb
5ab3ed0c39 Multiple include protection. 2000-03-29 03:07:52 +00:00
simonb
6043a575b2 Remove declaration of db_radix - <ddb/db_output.h> has one.
Also remove <sys/conf.h> - don't need it here.
2000-03-29 03:05:18 +00:00
simonb
bfb011b813 Remove duplicate ncr53c9x_dmaselect declaration. 2000-03-29 03:03:28 +00:00
simonb
d7a08fd8c5 Don't declare a variable in the 'struct platform' declaration - we declare
an extern for 'struct platform platform' further down this file anyway,
and this would have declared a 'platform' variable in any userland code
including this file.
2000-03-29 02:59:18 +00:00
augustss
023c506a5e Take off an item. 2000-03-29 02:17:42 +00:00
enami
e8b27ae5ed Check rc_configured also here, and bail out if it isn't set to yes. 2000-03-29 02:13:51 +00:00
augustss
61db1b8e46 *SIGH* Revert back to the old method of aborting xfers.
I had tested the new stuff for two months now, but as soon as I commited
it the problems started to appear.  Murphy, no doubt...
2000-03-29 01:49:13 +00:00
augustss
9a386a047a Do not use all xfers at the same time, this can cause problems in the HC
drivers.
2000-03-29 01:47:25 +00:00
augustss
7e7ceecd2b A first stab at support for isochronous transfers. 2000-03-29 01:46:26 +00:00
augustss
5e754a177b Do not accept new xfers for queuing while a pipe is aborting. 2000-03-29 01:45:20 +00:00
simonb
60e58935c7 Oops, use sort(1) and not sort(brain). 2000-03-29 00:01:39 +00:00
simonb
2f1fef39b3 Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +00:00
augustss
52bb6db3ff Make this compile again after several global structs where declared extern. 2000-03-28 23:36:11 +00:00
simonb
bb1fc886cf endtsleep() is prototyped at the top of the file, delete duplicate
declaration inside tsleep().
2000-03-28 22:04:46 +00:00
simonb
468456cf00 Delete duplicate definition of kernel time variable (in <sys/kernel.h>). 2000-03-28 22:01:52 +00:00
is
91d927ae42 synchronize to GENERIC 2000-03-28 20:17:14 +00:00
tron
d344de0b31 Use an equal probability single draw algorithm to get card from deck.
Patch supplied by John Darrow in PR bin/9651.
2000-03-28 19:37:54 +00:00
thorpej
6b45fb25a9 The assembler understands rdmsr, wrmsr, rdtsc, and rdpmc, so there's
no need to use .byte.
2000-03-28 19:17:29 +00:00
thorpej
fd21635b22 Extern cpu_id and cpu_vendor[] here. 2000-03-28 19:16:05 +00:00
thorpej
a142c171d0 Add: cmpxchg8b, wrmsr, rdtsc, rdmsr, rdpmc, rsm. From FreeBSD. 2000-03-28 19:15:40 +00:00
kleink
7e35a43e67 In mmap(), bail out with EOVERFLOW when mapping a regular file and the file
offset plus mapping length cannot be represented in an off_t.
2000-03-28 18:45:19 +00:00
kleink
2e68f6172e Cast timeval members to types we know the printf conversions of. 2000-03-28 18:39:03 +00:00
augustss
61462c55a3 Get rid of a lot of register declarations.
(Why isn't this done everywhere in the kernel already?)
2000-03-28 17:30:10 +00:00
augustss
fc39329153 Change a printf() to a panic() since the kernel is going to die on the next
line anyway.
2000-03-28 17:24:46 +00:00
augustss
f606c26834 Be more defensive in a DIAGNOSTIC test. 2000-03-28 17:07:04 +00:00
fredb
630e63cb47 Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
ws
39d088cbd3 Provide some form of documentation for IPKDB. 2000-03-28 14:21:46 +00:00