gpalmer
e3ff1230b2
Provide a missing parameter to printf to stop the kernel from panicing.
1998-02-21 04:32:56 +00:00
steve
8049881931
Build perl header files for machine/* too.
...
PR: 672
Submitted by: Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
1998-02-21 04:06:24 +00:00
jb
32528e3636
Add #ifndef _POSIX_SOURCE around the timecounter definitions
...
which rely on u_int being defined in sys/types.h, but isn't
if _POSIX_SOURCE is defined.
This fixes the gnu/lib/libstdc++ breakage. I've successfully completed
a make world after this and a kernel (without many devices).
1998-02-21 03:20:46 +00:00
jkh
27b15ef959
Reserve cdev 93 for CODA filesystem.
...
Submitted by: "Robert.V.Baron" <rvb@GLUCK.CODA.CS.CMU.EDU>
1998-02-20 23:55:32 +00:00
jb
f9a4fc0fbc
Change a (defaulted) int arg to a long so that a cast from a pointer
...
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
jb
10057ded6e
Add #include <string.h> to get prototypes. Note that this program
...
also has a local "string.h" which is included too.
1998-02-20 19:56:01 +00:00
jb
039ef0e89d
Add #include <string.h> to get prototypes.
1998-02-20 19:53:12 +00:00
jb
4fd64574bc
Add #include <stdlib.h> to get prototypes.
1998-02-20 19:50:10 +00:00
jkh
ebd2dc578d
Update docs for new stable-167 driver.
...
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
1998-02-20 18:09:28 +00:00
jkh
fc9ab0ca4c
Update to "stable-167" release; totally reimplements media detection.
...
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
1998-02-20 18:08:46 +00:00
phk
044e1e6296
Replace TOD clock code with more systematic approach.
...
Highlights:
* Simple model for underlying hardware.
* Hardware basis for timekeeping can be changed on the fly.
* Only one hardware clock responsible for TOD keeping.
* Provides a real nanotime() function.
* Time granularity: .232E-18 seconds.
* Frequency granularity: .238E-12 s/s
* Frequency adjustment is continuous in time.
* Less overhead for frequency adjustment.
* Improves xntpd performance.
Reviewed by: bde, bde, bde
1998-02-20 16:36:17 +00:00
jkh
fba9e5d663
Correct spammage from MACHINE_ARCH commit - you don't want to
...
*replace* the SUBDIR list in that case, you want to augment it.
Also move a stray .endif to its proper location. Heh, no wonder my
release builds were falling over! ;)
1998-02-20 16:14:37 +00:00
bde
15ed497b91
Removed default tags target. It was identical to the central one in
...
bsd.dep.mk.
1998-02-20 15:58:59 +00:00
bde
79dd9d614b
Removed default tags target. PROG is always defined here, so ifdefing
...
it was bogus, and without the ifdef the default is identical to the
central one in bsd.dep.mk.
1998-02-20 15:52:49 +00:00
bde
0c03a011b7
Don't pass the undocumented flags `-se' to gtags (gtags ignores them for
...
compatibility).
1998-02-20 15:27:03 +00:00
brian
897caf0c18
Remove useless argument to ``. start_if.$ifn''
...
Pointed out by: Tim Tsai <tim@futuresouth.com>
1998-02-20 14:45:06 +00:00
bde
52f295ed40
Fixed cleaning of tags files. GSYMS was forgotten.
1998-02-20 14:32:30 +00:00
bde
6982cfc5c0
Staticized.
...
Don't depend on "implicit int".
1998-02-20 13:52:15 +00:00
bde
bfefd71bbf
Don't depend on "implicit int" or bloat the data section in the
...
declaration of xxx_devsw_installed.
1998-02-20 13:46:58 +00:00
bde
999552194c
Don't depend on "implicit int".
1998-02-20 13:37:40 +00:00
bde
fed944c647
Removed unused debugging variables and macros.
...
Don't depend on "implicit int" or bloat the data section in the
declaration of vn_devsw_installed.
1998-02-20 13:27:36 +00:00
bde
9fca072392
Removed unused #includes.
1998-02-20 13:11:54 +00:00
bde
b41d85112c
Fixed some stale comments about console drivers.
...
Uncommented css0. It compiles OK.
Moved trix0 so that it compiles OK when uncommented. Uncommented
it. Drivers with the same interrupt handler must be together in
config files so that config(8)'s simple avoidance of redundant
declarations of interrupt handlers works (config emits a declaration
unless it would duplicate the previous one).
Commented out NO_LKM. Negative options should not be configured
in LINT. There should be no negative options for subsystems.
LKMs should never have been standard or the default.
1998-02-20 12:27:28 +00:00
kato
611ffbd64f
Sync with sys/i386/isa/lpt.c revision 1.167.
1998-02-20 12:25:23 +00:00
kato
86b152d3d4
Sync with sys/i386/conf/majors.i386 revision 1.33.
1998-02-20 12:24:18 +00:00
bde
3912a8fcc1
Don't create an unused obj directory.
1998-02-20 11:18:57 +00:00
jb
7bfcc9edbb
Change MACHINE references to MACHINE_ARCH.
1998-02-20 08:41:46 +00:00
jb
bdf0841be6
Change MACHINE references to MACHINE_ARCH.
1998-02-20 08:23:55 +00:00
jb
5860dff332
Add #include <string.h> to get prototypes.
1998-02-20 08:13:51 +00:00
jb
3369620301
The NetBSD getlogin syscall has a different name.
1998-02-20 08:07:40 +00:00
jb
c72033468c
Fix a bogus cast for a bogus pointer check. This only checks if the
...
pointer is 4-byte aligned. On a 64-bit machine it probably should
check that the pointer is 8-byte aligned (eh, Bruce?) 8-)
1998-02-20 08:00:01 +00:00
jb
f80a6bb91d
NetBSD kernels don't have issetugid(), so #ifdef this out when
...
building FreeBSD's libc to run with a NetBSD kernel. We'll get to
the alpha kernel later, I promise. 8-)
1998-02-20 07:54:56 +00:00
jb
7dedbef2ef
Add #include <string.h> to get prototypes.
1998-02-20 07:48:36 +00:00
jb
d4dd404bc1
Add alpha support. m68k crept in too. Oops. 8-)
1998-02-20 07:44:29 +00:00
jb
f12b4c9703
Avoid an uninitialised variable warning from gcc. I bet some people
...
don't like me doing this, but I want to see clean compiles. 8-)
1998-02-20 07:40:22 +00:00
jb
2efe016de4
Test for the existance of ${MACHINE}/boot before trying to build it.
...
The PC98 stuff in this makefile should be removed and that system
should build with MACHINE=pc98 and MACHINE_ARCH=i386.
1998-02-20 07:37:08 +00:00
jb
2248def17a
Remove the casts on signal() returns and compare the returned value
...
with SIG_ERR to detect the error case.
Suggested by: bde.
1998-02-20 07:28:50 +00:00
hosokawa
4718f96363
Updated my e-mail address.
1998-02-20 07:19:51 +00:00
hosokawa
3ac086b2ac
Updated my e-mail addresses.
1998-02-20 07:17:48 +00:00
jb
dca0537025
gcc wants to see long long variables passed to %q printf formats, so
...
cast to that instead of quad_t.
1998-02-20 05:11:42 +00:00
jb
46dfb7f7cd
time() needs a pointer to a time_t, but tv_sec in a timeval is a
...
long (yuk). So give time() what it wants and let the compiler
promote the variable when it is assigned to tv_sec.
1998-02-20 05:08:53 +00:00
jb
7295fb5707
localtime() needs a pointer to time_t which is not necessarily a long.
...
So use a time_t in the chdr structure so that no casts are required.
1998-02-20 05:01:05 +00:00
jb
eb649fea4a
Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead.
1998-02-20 04:57:33 +00:00
jb
bc76bfde94
Add #include <string.h> to get prototypes.
1998-02-20 04:54:00 +00:00
jb
01b0029e57
Initialise variable that gcc lies awake at night worrying about.
1998-02-20 04:50:50 +00:00
jb
7f92b62ee3
Add #include <string.h> to get prototypes.
1998-02-20 04:48:37 +00:00
jb
6d9d1ccd14
Replace incomplete malloc prototype with #include <stdlib.h>
...
to get the proper one.
1998-02-20 04:38:20 +00:00
jb
51f6e49462
Add #include <stdlib.h> to get prototype for malloc().
1998-02-20 04:34:08 +00:00
jb
0c290fd53e
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
jb
78fe14dd30
Add #include <stdlib.h> to get prototype for malloc(). Without this,
...
the compiler assumes an int return. On alpha this is enough to ruin
ya day.
1998-02-20 04:21:46 +00:00