Poul-Henning Kamp
0e51b8b85d
Use PAGE_SIZE instead of NBPG
1996-05-02 08:43:37 +00:00
Poul-Henning Kamp
d71458ee72
Cache the result of getpagesize() so we only make one syscall.
...
Use getpagesize instead of CLBYTES.
1996-05-02 08:43:05 +00:00
Poul-Henning Kamp
3a91de068c
Replace NBPG with getpagesize()
1996-05-02 08:37:16 +00:00
Jordan K. Hubbard
0e9e4efa0a
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
Bill Fenner
df5c0b8a7a
Back out my stupid braino; I was thinking strlen and not sizeof.
1996-05-02 05:54:14 +00:00
Bill Fenner
af00f8007c
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
Mike Pritchard
a251b9e77e
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
Mike Pritchard
417349c472
Fix a typo.
1996-05-01 22:49:36 +00:00
Mike Pritchard
eea782bac2
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
Poul-Henning Kamp
9f507bd3f1
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
Mark Murray
f99e7fdd20
Provide a rudimentary man page for this, based mostly on the README.PATCH.
1996-05-01 17:16:23 +00:00
Mark Murray
f3da898049
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
Jordan K. Hubbard
cf839171ab
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
Jordan K. Hubbard
f8a779d65b
Might as well be factual. Sigh!
1996-05-01 09:35:34 +00:00
Jordan K. Hubbard
4d1ff43651
Fix the last known bogon with the packages menu. It's SNAP time!
1996-05-01 09:31:50 +00:00
Jordan K. Hubbard
a0918e0beb
Make the call to fortune here conditional as well.
1996-05-01 09:23:30 +00:00
Jordan K. Hubbard
e4465ce377
If we've selected X, select the compat21 distribution as well.
1996-05-01 08:50:00 +00:00
Jordan K. Hubbard
56359f702d
Add the compat21 dist.
1996-05-01 08:42:40 +00:00
Bruce Evans
2dafbfcbab
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
Bruce Evans
0f99c703ec
i386/machdep.c
...
include/clock.h
isa/clock.c
1996-05-01 08:31:21 +00:00
Jordan K. Hubbard
5e26fb6fdf
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
Bruce Evans
119bc2cc9b
Oops, restored existent option LINUX. It is used at config-time.
1996-05-01 05:04:38 +00:00
Bruce Evans
3da92a61e0
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
Bruce Evans
b1d3d2ffcf
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
Bruce Evans
eabe0f9f57
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
Bruce Evans
3722e90e21
Removed unused #include.
1996-05-01 03:32:46 +00:00
Jordan K. Hubbard
7653020ceb
Micro tweak for getting the Holographic shell message to stay on the
...
screen longer.
1996-05-01 03:31:08 +00:00
Bruce Evans
7c243b9add
Removed nonexistent option "LINUX" (what's that :-).
1996-05-01 03:30:04 +00:00
Bruce Evans
2c703b3e86
Only disable sio3 by default.
1996-05-01 03:26:58 +00:00
Bruce Evans
52efa6c17d
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
Bruce Evans
5ab934f670
Removed prototype for obsolete function sleep().
1996-05-01 02:52:05 +00:00
Bruce Evans
a794e791c8
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
Bruce Evans
2043dc9a22
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
Bruce Evans
44d5b3c883
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
Jordan K. Hubbard
36088788e2
Alex Nash added for his contribution of the compat21 distribution.
1996-05-01 01:49:03 +00:00
Bruce Evans
deff23e5b1
Made this compile again. A comment delimiter got deleted in the Lite2
...
changes.
1996-05-01 01:46:00 +00:00
Bruce Evans
50e9e20943
Fixed incomplete or wrong lists of prerequisite #includes related to
...
<sys/types.h>.
1996-05-01 01:45:23 +00:00
Bruce Evans
9c6e4f2a7c
Fixed incomplete or wrong lists of prerequisite #includes related to
...
<sys/types.h>.
1996-05-01 01:40:04 +00:00
Bruce Evans
3a880d5ded
Fixed a wrong prerequisite #include and a missing function-arg type.
1996-05-01 01:18:43 +00:00
Bruce Evans
6c0be88a57
Fixed misformatted #include (.Ft -> .Fd).
1996-05-01 01:04:44 +00:00
Bruce Evans
dcbf155dce
Made this work with the documented prerequisite #includes (none).
1996-05-01 00:57:57 +00:00
Bruce Evans
e506fdf557
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
Bruce Evans
cdd84b0211
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
Bruce Evans
494908b12c
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
Bruce Evans
05ab86ceec
Removed gratuitous differences from Lite2.
...
Cleaned up vm typedefs.
1996-04-30 23:35:57 +00:00
Bruce Evans
71d96b71c2
#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
Bruce Evans
21e0797227
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
Stefan Eßer
e20df7fc31
Make pcibus_check() ignore Device/Vendor IDs of all 0.
1996-04-30 21:37:21 +00:00
Jordan K. Hubbard
1fadece3ee
Fix another couple of bogons with the package menu.
1996-04-30 21:22:29 +00:00
Satoshi Asami
2db80aa5cd
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