Commit Graph

13874 Commits

Author SHA1 Message Date
phk
640ce8297e Use PAGE_SIZE instead of NBPG 1996-05-02 08:43:37 +00:00
phk
37811d9fc0 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
4622dbc30b Replace NBPG with getpagesize() 1996-05-02 08:37:16 +00:00
jkh
cc47383b6b 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
1284248a56 Back out my stupid braino; I was thinking strlen and not sizeof. 1996-05-02 05:54:14 +00:00
fenner
2163f66f9a 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
94cc53e73d 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
e7fdb04c6f Fix a typo. 1996-05-01 22:49:36 +00:00
mpp
9c1ce5a32e 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
1f74c80056 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
d390be530b Provide a rudimentary man page for this, based mostly on the README.PATCH. 1996-05-01 17:16:23 +00:00
markm
c8063bf291 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
52413d48f1 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
0b4caaecfb Might as well be factual. Sigh! 1996-05-01 09:35:34 +00:00
jkh
04740820fe Fix the last known bogon with the packages menu. It's SNAP time! 1996-05-01 09:31:50 +00:00
jkh
765166292c Make the call to fortune here conditional as well. 1996-05-01 09:23:30 +00:00
jkh
28ab7c1538 If we've selected X, select the compat21 distribution as well. 1996-05-01 08:50:00 +00:00
jkh
e4e2255ceb Add the compat21 dist. 1996-05-01 08:42:40 +00:00
bde
ca8106a4ee 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
00b2015fb5 i386/machdep.c
include/clock.h
isa/clock.c
1996-05-01 08:31:21 +00:00
jkh
aa76d4da80 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
13cbb1411c Oops, restored existent option LINUX. It is used at config-time. 1996-05-01 05:04:38 +00:00
bde
b3256ea959 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
3f15f680f2 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
789804f746 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
8ff8e22ec9 Removed unused #include. 1996-05-01 03:32:46 +00:00
jkh
943934a187 Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
bde
aa97fefae9 Removed nonexistent option "LINUX" (what's that :-). 1996-05-01 03:30:04 +00:00
bde
4fd408f6ef Only disable sio3 by default. 1996-05-01 03:26:58 +00:00
bde
95dda376ac 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
422674387f Removed prototype for obsolete function sleep(). 1996-05-01 02:52:05 +00:00
bde
f92cdcae99 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
82c1afdaa1 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
b3ded284a0 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
14cd777606 Alex Nash added for his contribution of the compat21 distribution. 1996-05-01 01:49:03 +00:00
bde
f8633871d3 Made this compile again. A comment delimiter got deleted in the Lite2
changes.
1996-05-01 01:46:00 +00:00
bde
0a13cbc5da Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
1996-05-01 01:45:23 +00:00
bde
8bc7ed820f Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
1996-05-01 01:40:04 +00:00
bde
62b0977186 Fixed a wrong prerequisite #include and a missing function-arg type. 1996-05-01 01:18:43 +00:00
bde
f1cd83342e Fixed misformatted #include (.Ft -> .Fd). 1996-05-01 01:04:44 +00:00
bde
bfd7b52d5c Made this work with the documented prerequisite #includes (none). 1996-05-01 00:57:57 +00:00
bde
8e1d546f3a 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
bde
7dbb860b71 Fixed longstanding namespace convolution involving rune_t vs wchar_t.
If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to
be included before <stddef.h> or <stdlib.h> to get rune_t declared.
Now rune_t is declared perfectly bogusly in all cases when <ctype.h>
is included.

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:40:10 +00:00
bde
5dcde3c31e Fixed timeouts. I broke them in rev.1.17 for the FORCE_COMCONSOLE and
(interactively set RB_SERIAL) && BOOTWAIT (serial i/o) cases.
1996-04-30 23:43:25 +00:00
bde
c0563d1613 Removed gratuitous differences from Lite2.
Cleaned up vm typedefs.
1996-04-30 23:35:57 +00:00
bde
4284463ff9 #include <sys/filedesc.h> explicitly instead of depending on it being
bogusly included by <sys/socketvar.h>.
1996-04-30 23:26:52 +00:00
bde
6f2ee869e3 Fixed nfs sysctls. They missed out on the fs -> vfs name changes from
Lite2.  This broke nfsstat.
1996-04-30 23:23:09 +00:00
se
df6f0d5e13 Make pcibus_check() ignore Device/Vendor IDs of all 0. 1996-04-30 21:37:21 +00:00
jkh
3e2b70bcea Fix another couple of bogons with the package menu. 1996-04-30 21:22:29 +00:00
asami
6508c38459 Add ports-all and comment out individual ports-*. Add commented out
ports-distfiles to ports-supfile.  Add explanations.
1996-04-30 21:05:07 +00:00