Commit Graph

34022 Commits

Author SHA1 Message Date
lukem
736ba086df WARNSify, KNFify 1997-10-25 13:45:55 +00:00
fvdl
b592c266f8 3rd argument to msync() is now needed by NetBSD as well. 1997-10-25 10:49:36 +00:00
lukem
ad4916f857 fix spellos and incorrect man page references 1997-10-25 10:18:36 +00:00
lukem
da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
lukem
c4c746f831 fix link hash lookup code, so that hard links are restored correctly.
from Steve Peurifoy <sp128@ibm.net> in [bin/4344]
1997-10-25 10:04:40 +00:00
lukem
0c77c25043 use CPPFLAGS instead of CFLAGS 1997-10-25 09:27:04 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
cjs
3dd557ba9c Link with the stuff we compiled, rather that whatever random stuff happens
to be installed on the system we're compiling on.
1997-10-25 06:18:27 +00:00
thorpej
56040257a5 Include string.h for prototypes so this builds on the Alpha. 1997-10-25 02:02:02 +00:00
thorpej
72434afdb5 Pull in <string.h> to get prototypes so that this builds on the Alpha. 1997-10-25 01:57:10 +00:00
thorpej
86ed76b106 Need to -I. to get generated .h files (needed for Elf targets). 1997-10-25 01:50:36 +00:00
thorpej
c356cad88d Fix time_t vs. long botch. 1997-10-25 01:40:47 +00:00
thorpej
bab116cf5f To print a size_t, cast to u_long and use %lu printf format so that
this works on the Alpha.
1997-10-25 01:29:30 +00:00
thorpej
611012d836 Make the copy_region methods do overlapping copies properly. Fixes
port-alpha/4216 (Chris Demetriou).
1997-10-25 01:21:57 +00:00
thorpej
19c77efe96 In vga_erasecols(), fix botched count and reversed arguments to
bus_space_set_region_2().  From Chris Demetriou <cgd@pa.dec.com>.
1997-10-24 23:03:02 +00:00
is
f2af392200 Fix PR 3123 by Robert Dick.
Gcc used to create code to create trampolines (for nested functions) for
m68k without properly flushing the caches, leading to segmentation violations
on 68040/68060 systems.
Fixed by:
- importing the gcc 2.7.2.3 trampoline creation code into arch/m68k/m68k.h
- adding the OS-specific code for this into arch/m68k/netbsd.h
These changes have been reflected in gcc2netbsd.
1997-10-24 21:25:46 +00:00
thorpej
07de56201a Fix think'o in previous. 1997-10-24 21:18:25 +00:00
thorpej
5992d80ec3 Add SAITOH Masanobu to supporting cast. 1997-10-24 20:53:26 +00:00
thorpej
86dd3691f3 Add Bill Studenmund to supporting cast. 1997-10-24 20:40:41 +00:00
chuck
695d407460 update doc on new "ps" options 1997-10-24 19:15:38 +00:00
chuck
e0ced7363a fix printf formatting of "ps" (aka "show all proc") so that lines never
overflow (always hated that).

replaced "/m" flag with:
	/a == show process address info
	/n == show normal process info [currently the default]
	/w == show process wait/emul info
1997-10-24 18:26:36 +00:00
chuck
c33b782b4e kill db_ksprintn, db_printf_guts, kdbprintf, db_printf.
db_printf moves to kern/subr_prf.c and uses the new kprintf located there.
1997-10-24 18:20:23 +00:00
thorpej
703c49a46e Add the "pkg" category. 1997-10-24 18:17:44 +00:00
chuck
58034fb20c kill kdbprintf [use db_printf] 1997-10-24 18:16:46 +00:00
chuck
94fa91f862 import chris torek's vfprintf() from libc [renamed to kprintf and all
floating point stuff removed].

the new kprintf replaces the 3 different (and buggy) versions of
printf that were in the kernel before (kprintf, sprintf, and db_printf),
thus reducing duplicated code by 2/3's.   this fixes (or adds) several
printf formats.  examples:
 %#x   - previously only supported by db_printf [not printf/sprintf]
 %8.8s - printf would print "000chuck" for "chuck" before
 %5p   - printf would print "0x    1" for value 1 before

XXX: new kprintf still supports several non-standard '%' formats that
are supposed to eventually be removed:
  %: - passes an additional format string and argument list recursively
  %b - used to decode error registers
  %r - int, but print in radix "db_radix" [DDB only]
  %z - 'signed hex' [DDB only]
  %n - unsigned int, but print in radix "db_radix" [DDB only]

note that DDB's "%n" conflicts with standard "%n" which takes the
number of characters written so far and stores it into the integer
indicated by the "int *" pointer arg.  yuck!

while here, add comments for each function explaining what it is
supposed to do.
1997-10-24 18:14:25 +00:00
mjacob
23a59f497a Add missing NULL define for KERNEL case and prototype into libkern.h. 1997-10-24 18:10:30 +00:00
chuck
93d2d1d5cf remove vprintf proto from __powerpc__ ifdef [thus making vprintf
available on all platforms]
add prototype for memchr
1997-10-24 17:37:47 +00:00
christos
15839e5d3d PR/4328: Matthias Scheler: Syntax errors in debug macros. 1997-10-24 15:44:42 +00:00
christos
065818c9af lint -> __lint 1997-10-24 15:32:48 +00:00
chuck
cf924e3bc0 add memchr() to libkern 1997-10-24 15:32:24 +00:00
christos
8f62ebfab2 Cleanup warnings when -DKERBEROS 1997-10-24 14:44:35 +00:00
veego
aea22d6b9c Don't use " inside an '.if exists()' 1997-10-24 12:14:57 +00:00
lukem
8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem
453cc6eead usr CPPFLAGS instead of CFLAGS, move common settings into Makefile.inc 1997-10-24 07:52:03 +00:00
scottr
91b6282f36 Fix more borken compiler lossage, this time for m68k. 1997-10-24 06:47:31 +00:00
phil
d27ec1e50a Get it compiling again in the WARNS=1 environment. 1997-10-24 06:26:39 +00:00
enami
7a8787ba53 Make this compile again on NetBSD/alpha; cast off_t variable to long long
so that it matches printf format `%qd'.
1997-10-24 03:12:06 +00:00
mhitch
5b2fd76fd3 Don't rely on fixed padding to longword align the buffer used for non-aligned
transfers - compute aligned address when interface is attached.  Fixes PR#4258.
1997-10-24 01:50:03 +00:00
mhitch
9bec32eefe Check manufacturer and product codes correctly. The Blizzard 2060 driver
was trying to configure on a Cyberstorm MKI SCSI.
1997-10-24 01:43:49 +00:00
mrg
bc13fc9251 prefer snprintf() to sprintf() 1997-10-24 01:41:47 +00:00
mrg
d23e58fc15 while catman doesn't `work' properly yet, use snprintf() when creating the
man paths, and add man section 9.  hopefully, this program will actually
work soon.
1997-10-24 01:31:35 +00:00
lukem
fa2de9fb4c use ${.CURDIR}/${SRCS} instead of ${.ALLSRC} (from i386/Makefile) 1997-10-24 00:35:22 +00:00
jonathan
fc16fe2241 Add X11R6.3 ELF shared libraries. 1997-10-23 23:47:07 +00:00
lukem
731625d7ed backout CPPFLAGS; this is a sample standalone makefile 1997-10-23 23:16:04 +00:00
lukem
6a1a12e546 use CPPFLAGS instead of CFLAGS 1997-10-23 23:09:00 +00:00
chuck
dcab1fe15c fix typeo in prev commit 1997-10-23 22:53:30 +00:00
christos
bc7956dee1 Const de-poisoning :-( Unfortunately the default gnu readline does not
have full prototypes... With those changes, and a single line change in
gdb/top.c, gdb links with -ledit
1997-10-23 22:51:59 +00:00
lukem
21a80b2b63 use CPPFLAGS instead of CFLAGS 1997-10-23 22:50:34 +00:00
lukem
fdf9f1c771 remove CFLAGS+=-g 1997-10-23 22:48:26 +00:00
jonathan
f11d2bba47 Kill man4/imp.4 (not just cat4/imp.0). 1997-10-23 22:29:52 +00:00