David Greenman
d40802692e
Killed sections 3 and 4 of my copyright as I think it is unnecessarily
...
restrictive.
1996-04-08 01:25:22 +00:00
David Greenman
39f70d4545
Killed sections 3 and 4 of my copyright as I don't agree with it (I believe
...
it to be unnecessarily restrictive). For tty_subr.c, update to my standard
copyright.
1996-04-08 01:22:00 +00:00
Poul-Henning Kamp
d4893bd812
remove b_actb, it's not used anywhere.
1996-04-07 22:12:25 +00:00
Bruce Evans
3fd674e22b
Use breakpoint() function instead of inline assembler.
1996-04-07 18:34:59 +00:00
Bruce Evans
5dbd168e2e
Changed bdb() to breakpoint() and always enable it.
...
Made the style more consistent, especially for the new Pentium functions.
1996-04-07 18:30:56 +00:00
Bruce Evans
bc4750691c
Use rdtsc() function instead of inline essembler.
1996-04-07 18:16:26 +00:00
Bruce Evans
4165cacd4f
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:56:53 +00:00
Bruce Evans
5670f8fbd7
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:50:10 +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
Bruce Evans
3157adc8af
Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose
...
being declared in the wrong place.
1996-04-07 17:32:42 +00:00
Bruce Evans
c1263076e3
Removed unused declaration of bootverbose.
1996-04-07 17:03:12 +00:00
Bruce Evans
ae58fb1c43
systm.h:
...
Moved declaration of bootverbose to a better place. It isn't
machine-dependent.
proc.h:
Moved declaration of cpu_fork() to a better place. Only its
implementation is machine-dependent.
1996-04-07 16:46:28 +00:00
Bruce Evans
860ff32995
Moved declaration of bootverbose to a better place. Externs should
...
only be declared in headers.
1996-04-07 16:45:36 +00:00
Bruce Evans
73dc05d67c
Moved declaration of bootverbose to a better place. It isn't
...
machine-dependent.
Moved declaration of cpu_fork() to a better place. Only its
implementation is machine-dependent.
1996-04-07 16:44:28 +00:00
Bruce Evans
92ff4bb0e7
Declared pgrpdump() properly.
1996-04-07 16:16:05 +00:00
Bruce Evans
5e0f6c4338
Fixed the ownership and permissions of /dev/io. Rev.1.32 broke rev.1.29.
1996-04-07 14:59:26 +00:00
Bruce Evans
2151975455
Fixed devfs device names and numbers.
...
Fixed handling of unknown CMOS types - don't attach unrecognized devices.
1996-04-07 14:46:42 +00:00
Bruce Evans
120c5995aa
Cleaned up naming and formatting in recent changes.
1996-04-07 14:32:14 +00:00
Bruce Evans
0166c5c6b4
Allow specifying the BIOS drive number. Removed the hd drive type.
...
hd essentially wired the FreeBSD drive number to 0 without changing
the BIOS drive number. Now the numbers can be specified independently.
Replaced the BOOT_HD compile time flag with with BOOT_HD_BIAS. Defining
the new flag as 1 should give the same behaviour as defining the old
flag as anything. I haven't tested defining these flags.
1996-04-07 14:28:05 +00:00
Bruce Evans
242c09c05e
Don't generate code for the unused function sleep().
1996-04-07 13:35:58 +00:00
Bruce Evans
4181e70803
Removed the 2 remaining calls to sleep().
1996-04-07 13:20:40 +00:00
Poul-Henning Kamp
45ec3b3838
Move the "mib" variables out to their own file.
1996-04-07 13:03:06 +00:00
David Greenman
c655b7c4f4
Added proper splnet protection while modifying the interface address list.
...
This fixes a panic that occurs when ifconfig ioctl(s) were interrupted
by IP traffic at the wrong time - resulting in a NULL pointer dereference.
This was originally noticed on a FreeBSD 1.0 system, but the problem still
exists in current sources.
1996-04-07 06:59:52 +00:00
John Dyson
07b1059113
Major cleanups for the pmap code.
1996-04-07 02:23:05 +00:00
Joerg Wunsch
cbe4630780
Fix the reproto.sh script that was broken after my KNFification.
...
Pointed out by: bde
1996-04-07 01:15:03 +00:00
Joerg Wunsch
d9fb9dd03e
KNFify the function definitions. It's harder to grep around when the
...
function names don't start in column 1.
1996-04-06 13:34:37 +00:00
Gary Palmer
8577a36957
pccard.c:
...
#include <i386/include/clock.h> to get sysbeep() prototype
pcic.c:
add appropriate #ifdef around a prototype to quiet GCC because
fn decl. is also #ifdef'd.
1996-04-06 01:16:19 +00:00
David Greenman
baddaf9480
Switch 586/686 back to generic_bzero and #if 0'd the "optimized" code. It
...
turns out that it actually reduces performance in real-world cases.
Noticed by: bde
1996-04-06 01:06:06 +00:00
Marc G. Fournier
4297524c49
Fixed a bug in DEVFS code that was producing "name slot allocation failed"
...
messages.
1996-04-05 19:12:01 +00:00
Andrey A. Chernov
b0b321257d
Fix adjkerntz expression priority.
...
Make filetimes the same as DOS times for UTC cmos clock.
1996-04-05 18:59:06 +00:00
Andrey A. Chernov
2cb9219c5d
Fix adjkerntz expression priority
1996-04-05 18:56:10 +00:00
Andrey A. Chernov
ef5fdc52f5
Don't adjust file times for UTC clock to have the same timestamps
...
for DOS/FreeBSD.
1996-04-05 16:31:49 +00:00
Andrey A. Chernov
fe0d5f43c5
Add wall_cmos_clock sysctl variable, needed to manage adjkerntz even for
...
UTC cmos clocks (needed for Local Timezone FSes)
1996-04-05 03:36:31 +00:00
Joerg Wunsch
c80faa792c
Work around a braindead signal handling in many newer HP printers.
...
They don't have BUSY de-asserted by the time they ACK (and thus cause
an interrupt). The workaround is to try seeing if the BUSY will be
de-asserted soon, and if not, to use an incremental backoff and
semi-polled mode instead of the fixed timeout with 1/2 s we've been
using previously (that caused the printer to run really slooow).
Printers that have been working previously should not be affected by
this.
1996-04-04 12:28:36 +00:00
Poul-Henning Kamp
34be9bf3ce
Add a sysctl (net.inet.tcp.always_keepalive: 0) that when set will force
...
keepalive on all tcp sessions. Setsockopt(2) cannot override this setting.
Maybe another one is needed that just changes the default for SO_KEEPALIVE ?
Requested by: Joe Greco <jgreco@brasil.moneng.mei.com>
1996-04-04 11:17:04 +00:00
Poul-Henning Kamp
816a3d836e
Log TCP syn packets for ports we don't listen on.
...
Controlled by: sysctl net.inet.tcp.log_in_vain: 1
Log UDP syn packets for ports we don't listen on.
Controlled by: sysctl net.inet.udp.log_in_vain: 1
Suggested by: Warren Toomey <wkt@cs.adfa.oz.au>
1996-04-04 10:46:44 +00:00
Sujal Patel
04a4979760
Fixed a typo in the comment for sv_errsize.
1996-04-04 01:08:20 +00:00
Gary Palmer
c94554b47d
add a `Warning:' to the message saying that the root directory is not a
...
multiple of the clustersize in length to try and reduce the number
of questions we get on the subject.
1996-04-03 23:05:40 +00:00
Poul-Henning Kamp
506c540bbb
Improvementss to netboot
...
Initial but not yet functional PCI support.
Reviewed by: phk
Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1996-04-03 19:01:37 +00:00
Garrett Wollman
d3d20ad196
Always pass a route structure when calling ip_output().
1996-04-03 18:52:22 +00:00
Poul-Henning Kamp
23bf99538c
Add feature for tcp "established".
...
Change interface between netinet and ip_fw to be more general, and thus
hopefully also support other ip filtering implementations.
1996-04-03 13:52:20 +00:00
Poul-Henning Kamp
56bac51bc7
Pick up CWARNFLAGS from /etc/make.conf if defined.
1996-04-03 12:08:52 +00:00
John Dyson
030ad08012
Fixed a problem that the UPAGES of a process were being run down
...
in a suboptimal manner. I had also noticed some panics that appeared
to be at least superficially caused by this problem. Also, included
are some minor mods to support more general handling of page table page
faulting. More details in a future commit.
1996-04-03 05:23:44 +00:00
Marc G. Fournier
04dad170e9
Removed prototype for devfs_add_devsw() as it no longer exists
1996-04-03 03:03:55 +00:00
Marc G. Fournier
ad98bd0b24
Merged devfs_add_devsw() into devfs_add_devswf()
1996-04-03 03:03:27 +00:00
Gary Palmer
23d048ee3b
Add NULLFS_DIAGNOSTIC, KERNFS_DIAGNOSTIC, UMAPFS_DIAGNOSTIC, UNION_DIAGNOSTIC
...
and SAFETY. Currently all commented out until I can verify that they don't
cause LINT to fail to compile.
1996-04-03 00:28:40 +00:00
Gary Palmer
70af957f57
Correct a comment which was hiding part of the declaration of
...
devfs_link(), causing compiles to fail.
1996-04-03 00:01:40 +00:00
Gary Palmer
c7e39c5cee
Correct a bug which wrote the result of devfs_add_devswf() for two
...
separate devices to the same place
Reviewed by: Julian Elischer <julian>, Marc G. Fournier <scrappy>
1996-04-02 22:06:23 +00:00
Marc G. Fournier
94436d5aff
Prototyped wrong the first time through for devfs_link()
1996-04-02 19:07:38 +00:00
Garrett Wollman
348acd946c
Document PERFMON.
...
Delete obsolete PROBE_VERBOSE.
1996-04-02 18:13:36 +00:00