Commit Graph

14082 Commits

Author SHA1 Message Date
phk
d017d76ce2 Rename the very bogus indeed option "LINUX" to "COMPAT_LINUX".
I can only presume that the brain behind this have never seen code
that says "#ifdef LINUX" :-(
1996-05-02 10:41:18 +00:00
jkh
d92d5aec99 Clear the TCP/IP device configuration screen away after we invoke it. 1996-05-02 10:09:45 +00:00
phk
8faee1d3de NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.
1996-05-02 09:42:45 +00:00
phk
94b32fd41f KGDB is dead. It may come back one day if somebody does it. 1996-05-02 09:34:51 +00:00
phk
32e6520ae7 NBPG -> PAGE_SIZE 1996-05-02 09:23:36 +00:00
jkh
d16b57509b Add wcd0 to `all' target. The fate of the IDE CDROM support in 2.2
is becoming clearer.. :-)
1996-05-02 09:15:57 +00:00
phk
7a28f1a36d NBPG -> PAGE_SIZE 1996-05-02 09:10:21 +00:00
phk
59a63fa06a NBPG -> getpagesize() 1996-05-02 09:09:04 +00:00
phk
2a101e8326 Use PAGE_SIZE instead of NBPG 1996-05-02 08:43:37 +00:00
phk
3c013ae6a1 Cache the result of getpagesize() so we only make one syscall.
Use getpagesize instead of CLBYTES.
1996-05-02 08:43:05 +00:00
phk
201f1269c8 Replace NBPG with getpagesize() 1996-05-02 08:37:16 +00:00
jkh
059d7025c6 Yow! /dev/wcd0c got omitted from the boot.flp somehow. Guess that explains
why ATAPI CDROMs were broken in the last (and this!) SNAPSHOT.. :-(
Oh well, next SNAP I guess.
1996-05-02 08:18:28 +00:00
fenner
3e8710735e Back out my stupid braino; I was thinking strlen and not sizeof. 1996-05-02 05:54:14 +00:00
fenner
6629bc2137 Size temp var correctly; buf[4*sizeof "123"] is not long enough
to store "192.252.119.189\0".
1996-05-02 05:31:13 +00:00
mpp
3001187cd9 Convert the time2posix man page to mdoc format. This still
needs some other cleanup, but it is good enough for now.
1996-05-01 23:17:27 +00:00
mpp
121365506c Fix a typo. 1996-05-01 22:49:36 +00:00
mpp
31c3dd5b0a Remove a redundant description of the EMFILE error, and fix a typo.
Submitted by:	James Raynard <jraynard@dial.pipex.com>
1996-05-01 22:20:40 +00:00
phk
2a7896e2fc Add section with pgp keys (feel free to give it a better layout)
Add me back as patch-kit contributor.
1996-05-01 20:11:01 +00:00
markm
8347772cdb Provide a rudimentary man page for this, based mostly on the README.PATCH. 1996-05-01 17:16:23 +00:00
markm
2bbf489ecd Rewrite this a bit. The patch has already been applied, and users
do not need to followmost of the upgrading instructions.
1996-05-01 17:15:30 +00:00
jkh
c8f407fce3 Bump SNAP date to 960501 since that's what it is now. Next SNAP, these
WON'T be hardcoded in here! :-)
1996-05-01 09:42:17 +00:00
jkh
cc560bac57 Might as well be factual. Sigh! 1996-05-01 09:35:34 +00:00
jkh
40bd73b1b7 Fix the last known bogon with the packages menu. It's SNAP time! 1996-05-01 09:31:50 +00:00
jkh
06e53c2268 Make the call to fortune here conditional as well. 1996-05-01 09:23:30 +00:00
jkh
c5b26cbaf8 If we've selected X, select the compat21 distribution as well. 1996-05-01 08:50:00 +00:00
jkh
b6ae37bbdb Add the compat21 dist. 1996-05-01 08:42:40 +00:00
bde
507a58bf91 Added calibration the i8254 and the i586 clocks agains the RTC at boot
time.  The results are currently ignored unless certain temporary options
are used.

Added sysctls to support reading and writing the clock frequency variables
(not the frequencies themselves).  Writing is supposed to atomically
adjust all related variables.

machdep.c:
Fixed spelling of a function name in a comment so that I can log this
message which should have been with the previous commit.

Initialize `cpu_class' earlier so that it can be used in startrtclock()
instead of in calibrate_cyclecounter() (which no longer exists).

Removed range checking of `cpu'.  It is always initialized to CPU_XXX
so it is less likely to be out of bounds than most variables.

clock.h:
Removed I586_CYCLECTR().  Use rdtsc() instead.

clock.c:
TIMER_FREQ is now a variable timer_freq that defaults to the old value of
TIMER_FREQ.  #define'ing TIMER_FREQ should still work and may be the best
way of setting the frequency.

Calibration involves counting cycles while watching the RTC for one second.
This gives values correct to within (a few ppm) + (the innaccuracy of the
RTC) on my systems.
1996-05-01 08:39:02 +00:00
bde
280e4d45f2 i386/machdep.c
include/clock.h
isa/clock.c
1996-05-01 08:31:21 +00:00
jkh
70c7b5f6bf Include <sys/buf.h> so that this does't blow up with B_WRITE undefined.
I fully updated my src tree and did a `make includes' in /usr/src before
trying this fix, so I can only presume that Bruce missed something.
1996-05-01 06:31:18 +00:00
bde
4e07723fcd Oops, restored existent option LINUX. It is used at config-time. 1996-05-01 05:04:38 +00:00
bde
7ff28e7c6c Made this self-sufficent (except for <sys/types.h>) when compiled in
user mode.

Improved formatting and comments (mostly punctuation in comments).
1996-05-01 04:18:20 +00:00
bde
a69ed1a6c6 Fixed a race that caused panics in kernel printfs when the screen timeout
routine changed the screen pointers while output was in progress.
1996-05-01 03:58:21 +00:00
bde
6a44d52981 Don't return unused values in cpu_switch() or savectx().
Don't preserve unused registers in the NPX case in savectx().
1996-05-01 03:47:04 +00:00
bde
a65dfa0fc0 Removed unused #include. 1996-05-01 03:32:46 +00:00
jkh
8d98cdb41b Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
bde
eebf107356 Removed nonexistent option "LINUX" (what's that :-). 1996-05-01 03:30:04 +00:00
bde
9d11bfbbba Only disable sio3 by default. 1996-05-01 03:26:58 +00:00
bde
f2a7970da5 Default to udp if neither udp nor tcp is specified. The previous revision
was broken.  It forced udp in all cases except the extremely unusual case
argc == 0.
1996-05-01 03:13:45 +00:00
bde
6727ad72d5 Removed prototype for obsolete function sleep(). 1996-05-01 02:52:05 +00:00
bde
7261d0e25b Removed unnecessary #includes from <sys/imgact.h> so that it is
self-sufficient and added explicit #includes where required.
1996-05-01 02:43:13 +00:00
bde
524f0af266 Removed bogus _BEGIN_DECLS/_END_DECLS.
Removed unused struct tag declarations in cloned code.

Added or cleaned up idempotency ifdefs.
1996-05-01 02:16:17 +00:00
bde
3128cf5b68 Made this self-sufficent (apart from <sys/types.h>) again. It included
<sys/stat.h> and <sys/filedesc.h> just to get struct tags and depended
on a previous #include for <sys/queue.h>
1996-05-01 01:53:59 +00:00
jkh
39883de25a Alex Nash added for his contribution of the compat21 distribution. 1996-05-01 01:49:03 +00:00
bde
9716d9d277 Made this compile again. A comment delimiter got deleted in the Lite2
changes.
1996-05-01 01:46:00 +00:00
bde
eb9b68bf24 Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
1996-05-01 01:45:23 +00:00
bde
b82b39465f Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
1996-05-01 01:40:04 +00:00
bde
f02a8e8412 Fixed a wrong prerequisite #include and a missing function-arg type. 1996-05-01 01:18:43 +00:00
bde
6a5e558ca3 Fixed misformatted #include (.Ft -> .Fd). 1996-05-01 01:04:44 +00:00
bde
ac9086506e Made this work with the documented prerequisite #includes (none). 1996-05-01 00:57:57 +00:00
bde
47ca04d9f4 Oops, this should have been with the ctype changes.
Fixed longstanding namespace convolution involving rune_t vs wchar_t...

This change breaks similar (but more convoluted) convolutions in the
stddef.h in gcc distributions.  Ports of gcc should avoid using the
gcc headers.
1996-05-01 00:47:05 +00:00