Commit Graph

34000 Commits

Author SHA1 Message Date
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
christos
34fd941cb9 PR/4301: Jaromir Dolecek: Enable readline, now that we emulate it. 1997-10-23 22:25:06 +00:00
christos
f7de801d6c PR/4301: Jaromir Dolecek. Add gnu-readline wrapper for editline. 1997-10-23 22:24:09 +00:00
jonathan
bc8e181331 Re-sync with 1.3 release tree, pass 0: nuke missing references
* step shared libc version to 12.20
 * pick up move of com(4), lpt(4) headers from dev/isa to dev/ic
 * remove imp.4  (Arpanet 1822)  manpage.

For now, leave manpage references to syscalls that are still emulated
in libc dangling.
1997-10-23 22:07:53 +00:00
christos
28d8949e53 Define __RENAME as a noop if lint is defined.
[probably needs pull-up]
1997-10-23 22:02:58 +00:00
christos
88d2078c4f Revert previous change ${.ALLSRC} will contain .h files etc. 1997-10-23 21:42:54 +00:00
jonathan
faca0ea24c Install our ELF-aware link.h into /usr/include on mips hosts. 1997-10-23 19:27:28 +00:00
cjs
1a41da404a Don't compile bfd, readline on alpha. 1997-10-23 18:15:04 +00:00
briggs
54770f54b4 Scan more than MAXPARTITIONS Mac partitions when loading the fake disklabel.
This allows us to use a root and/or user partition that's not one of the
first 8 partitions in the table, and it allows us to fill the fake disklabel.
1997-10-23 14:58:49 +00:00
fvdl
aac8e91164 Oops. Fix goof in previous change. 1997-10-23 14:12:14 +00:00
drochner
86bc651566 Force "beforeinstall" and "afterinstall" to be executed before/after
"install". (pr misc/4319)
1997-10-23 12:44:28 +00:00
enami
a5372bf523 Add missing newline at the end of exit message. 1997-10-23 12:35:12 +00:00
enami
758c6a0d0f Work around GCC uninitialized variable warning. 1997-10-23 12:30:32 +00:00
enami
7ffe3c6167 Make this compile on NetBSD/alpha; to print size_t variable,
- use %lu instead of %d.
- cast the variable to (u_long) so that this also compiled on NetBSD/i386.
1997-10-23 12:26:02 +00:00
bouyer
89f2b833f4 Uses ext2fs_vinit not ufs_vinit.
In ext2fs, an inode is deleted either when mode == 0 or dtime != 0. If
  dtime != 0, reset others fields before using the inode, or we could end
  up with the wrong v_op in ext2fs_vinit.
While I'm there, kill a unused variable in ext2fs_readwrite
1997-10-23 11:41:16 +00:00
leo
e1adcbe609 Do not relocate the kernel to TT-Ram by default. Some TT's choke on this. You
can now opt for relocation by either setting the RELOC_KERNEL config option
or patching 'reloc_kernel' to something other than zero.
1997-10-23 11:26:19 +00:00
fair
3aa9af7caf Initialize pointers to NULL to avoid gcc/sparc compiler error
hack.invent.c: In function `dolook':
hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function
hack.invent.c:801: warning: `gold' might be used uninitialized in this function
(this is awfully tiresome - can't we fix gcc?)
1997-10-23 07:05:55 +00:00
lukem
3431200c6f make this compile with the new libedit history() 1997-10-23 06:35:42 +00:00
lukem
44c22033e4 use CPPFLAGS instead of CFLAGS 1997-10-23 06:31:59 +00:00
lukem
6e1d64c8d1 quieten gcc -Wall 1997-10-23 06:29:16 +00:00
lukem
f0fe153c0a use CPPFLAGS instead of CFLAGS 1997-10-23 06:27:34 +00:00
mikel
1f8a154917 add comments describing what devices correspond to each PnP ID matched 1997-10-23 06:14:11 +00:00
mikel
135737c189 fix some typos and other misfeatures in comments; no functional change
note that bha driver supports BT44x cards as well
1997-10-23 05:49:42 +00:00