Commit Graph

30289 Commits

Author SHA1 Message Date
phil
992579779c Add input files to dependency list for ioctl.c build. 1997-07-21 19:29:58 +00:00
drochner
1a0708ed1d -Print debug messages to stderr instead of stdout to avoid mix with
warn() output.
-Try to rename an existing "/boot" before writing a new one. This allows
 to restore the old boot if an error occurs later.
1997-07-21 18:04:35 +00:00
kleink
512b9c1d90 Nuke an `#ifdef sparc' conditional around ntohs() usage: this (1) is incomplete
and (2) makes no difference anyway.  Also, minor KNF.
1997-07-21 16:53:47 +00:00
jtc
b5f2501072 Put TNF copyright on this file 1997-07-21 14:17:52 +00:00
jtc
43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
lukem
609496986e fix compile on alpha:
* cast all %qd printfs to (long long) [inspired by billc@warped.net]
* replace sscanf %qd with strtoq() et al
1997-07-21 14:03:48 +00:00
jtc
5e436cd360 Use insn sequence found by superoptimizer to compute return value. This
avoids the relatively expensive scc and ext instructions.
1997-07-21 13:56:10 +00:00
mrg
5941399374 - some KNF.
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
mrg
cd53f1ab76 WARNS?=1 1997-07-21 07:03:52 +00:00
mrg
1e987690a8 - some KNF.
- use __RCSID().
- WARNS=1
- use swapctl(2), rather than grovelling KVM.
1997-07-21 07:03:15 +00:00
phil
b94cad931e Add missing quote (") at end of _RCSID argument. 1997-07-21 06:01:55 +00:00
mrg
e44b1e6182 add a patchable `lkmdebug' variable and only print debug messages
when certain bits are set.
1997-07-21 05:43:36 +00:00
jonathan
4631885e91 Kill __BROKEN_INDIRECT_CONFIG on pmax.
Based on a patch from Chris G. Demetriou, December 1996.
1997-07-21 05:39:02 +00:00
cgd
b41192602c fix a couple of bogons in the changes to the sed regexps in my previous
commit.  ("Works Great!!" "More Testing!!!")
1997-07-21 05:37:32 +00:00
mrg
04b009a915 be safe with some buffers. 1997-07-21 05:13:10 +00:00
mrg
3f5be650bc swapon -> swapctl 1997-07-21 05:10:46 +00:00
mrg
327d42e4ef free() what you malloc(). 1997-07-21 05:05:12 +00:00
mrg
86f42e76cd build chess.6 on alpha. 1997-07-21 04:48:06 +00:00
mrg
fab0b65073 KNF and help gcc optimise for registers better. 1997-07-21 04:45:44 +00:00
christos
49c4c10580 gethostnamadr.c -> gethnamaddr.c 1997-07-21 03:51:57 +00:00
fvdl
4ad51c2811 Allow multiple export requests for a filesystem, host pair if the flags and
anon cred are the same. Should probably be handled better in the mountd,
but this will do for now. Fixes PR 469, submitted Sept 1994 by
a certain "Jason R. Thorpe".. ;-)
1997-07-20 23:31:32 +00:00
cgd
dab9e38937 find the compiler more correctly: if user has set 'CC' use it but expand
it to a full path using the user's path, before setting the path used by
the script.  If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin:/usr/ucb), and if it still can't be
found, exit.  If user hasn't set CC, try to use cc, again searched for
via their path, then via the standard path.
Also, clean up regexps used to post-process ${CC} -M output, so that
they work on a wider variety of compilers.
1997-07-20 23:27:09 +00:00
cgd
e765fcae61 find nm more correctly: if user has set 'NM', use it but expand it to a
full path using the user's path, before setting the path used by the
script.  If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin), and if it still can't be found, exit.
If user hasn't set NM, try to use nm, again searched for via their path,
then via the standard path.
1997-07-20 23:25:12 +00:00
fvdl
933d4afe84 Make vm_map_clear_recursive behave exactly like the old lock_clear_recursive.
This doesn't make a difference in the way that it's currently being called,
but it's more intuitive.
1997-07-20 23:23:45 +00:00
jonathan
592eeb7378 mips-tuned bcopy from Jon Kay (UCSD) released under BSD copyright,
with standard BSD in_cksum() interface by Jonathan Stone.
1997-07-20 22:42:33 +00:00
christos
917eae2326 Fix gethostnamadr.c -> gethnamaddr.c 1997-07-20 22:38:45 +00:00
christos
23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos
4a3a58b6f2 Fix compiler warnings.
Add WARNS=1
1997-07-20 21:58:35 +00:00
christos
e028842ec8 Fix compiler warnings.
Add WARNS=1
1997-07-20 21:28:26 +00:00
christos
c996803cad PR/3888: Chris Demetriou: type command-with-slash prints
$PATH[0]/command-with-slash...
1997-07-20 21:27:35 +00:00
christos
25b23032f5 Fix compiler warnings.
Add WARNS=1
1997-07-20 20:51:08 +00:00
jonathan
f43c13bff4 Add ddb to mips/conf/files.mips. Garbage-collect mdb. 1997-07-20 20:48:40 +00:00
christos
e800d25ed8 Fix compiler warnings
Add WARNS=1
1997-07-20 20:47:31 +00:00
christos
a8110bb91b Add prototype for orcmd. 1997-07-20 20:44:23 +00:00
christos
0a472b8370 Add WARNS=1 1997-07-20 20:43:53 +00:00
christos
e06ec2b8bd Fix compiler warnings.
Add WARNS=1
1997-07-20 20:39:44 +00:00
christos
78295c8bc1 Fix compiler warnings
Add WARNS=1
1997-07-20 20:37:53 +00:00
pk
e3680b0e26 config.new => config 1997-07-20 20:33:08 +00:00
christos
f3cd602281 - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
1997-07-20 20:32:15 +00:00
pk
7d0e8e2116 config.new => config 1997-07-20 20:32:14 +00:00
christos
9d27dbbac5 - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
1997-07-20 20:32:12 +00:00
pk
013ac04cfb config.new => config 1997-07-20 20:30:46 +00:00
jonathan
5ba85a4cf8 Kernel profiling. Don't profile the following:
sigcode():
      executed from user-space stack.

  mips1_cpu_switch_resume, mips3_cpu_switch_resume:
      arguments passed in via v0, t0, t1 (outlined from cpu_switch())

  mips3_VCED(), mips3_VCEI():
      called from exception-vector code without any register save,
      $at, $ra are live.
1997-07-20 19:48:03 +00:00
jonathan
01794f87e3 Conditionalize mips1-speciifc locore code on #ifdef MIPS1 1997-07-20 19:40:19 +00:00
christos
d91f759e44 include <pwd.h> and <grp.h> to bring prototypes into scope. 1997-07-20 19:20:01 +00:00
christos
b2b50d955b Backout addition of user_from_uid and group_from_gid; they exist in pwd.h
and grp.h [pointed by cgd]
1997-07-20 19:18:49 +00:00
christos
3c953c7e32 Fix compiler warnings.
Add WARNS=1
1997-07-20 19:07:49 +00:00
christos
f5b66975d0 remove user_from_uid and group_from_gid prototypes. 1997-07-20 19:07:05 +00:00
christos
cf8c0114c2 Add user_from_uid and group_from_gid 1997-07-20 19:06:07 +00:00
christos
2e55bdaf6f Fix compiler warnings.
Add WARNS=1
1997-07-20 18:59:27 +00:00