openbsd
28 years agoFrom NetBSD: merge of 960317
niklas [Sat, 30 Mar 1996 15:29:23 +0000 (15:29 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:54:11 +0000 (14:54 +0000)]
From NetBSD:
Added support for m68060 (activate with -m68060).  This change has
already been accepted and integrated into the FSF source tree.

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:30:28 +0000 (14:30 +0000)]
From NetBSD:
Remove the DBX_NO_XREFS definition from the NetBSD m68k, ns32k, and
sparc gcc configuration.  It isn't needed, as NetBSD uses gdb.

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:25:42 +0000 (14:25 +0000)]
From NetBSD:
Patch from J"orn Rennecke that fixes code generation bugs with long
long comparisons.  As of this date, this change hasn't made it into
the development sources.  We must consider this when it comes time
to integrate a newer gcc release.

Thu Mar  7 01:16:23 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)

* expmed.c (negate_rtx): Don't negate LONG_MIN if mode is wider
than HOST_WIDE_INT.

gcc now produces worse code for this test case than gcc 2.5.8 when
invoked with -O , but it will optimize as good as gcc 2.5.8 (i.e. all
comparisons vanish) when invoked with -O2 , thus I think it doesn't
matter.  If anyone is interested in looking into this, the code in
expr.c, function expand_expr, case MINUS_EXPR, if-clause for if
(TREE_UNSIGNED (type) || TREE_OVERFLOW (negated)), will refuse to
convert the subtraction into an addition if there is an overflow in
the conversion or negation of the constant.  If both host and target
machine are binary computers with 2-complement representation, the
overflow should not matter.

28 years agoSubstantially improve random number generation by using the largest prime
tholo [Sat, 30 Mar 1996 10:01:47 +0000 (10:01 +0000)]
Substantially improve random number generation by using the largest prime
that fits inside 32 bits as the denominator; take care not to overflow.
Regenerate initial seed after replacing the generator

28 years agofdeject not eject. Net/OpenBSD tracking error.
etheisen [Sat, 30 Mar 1996 08:29:08 +0000 (08:29 +0000)]
fdeject not eject. Net/OpenBSD tracking error.

28 years agoDDB support added.
mickey [Sat, 30 Mar 1996 04:53:15 +0000 (04:53 +0000)]
DDB support added.

28 years agoAdded: sysctl access to the ddb variables.
mickey [Sat, 30 Mar 1996 04:51:25 +0000 (04:51 +0000)]
Added: sysctl access to the ddb variables.
Fixed: "netbsd" strings in sym table handling routines.
now it is usefull to change max_{width,line} according
to your real console geometry, just w/ sysctl program.

28 years agoAdd $OpenBSD$, fix comments.
mickey [Sat, 30 Mar 1996 02:03:43 +0000 (02:03 +0000)]
Add $OpenBSD$, fix comments.

28 years agoBug w/ rename fixed.
mickey [Sat, 30 Mar 1996 01:40:48 +0000 (01:40 +0000)]
Bug w/ rename fixed.
Strange thing still present w/ removes, the situation
seemd to be like extra VREF made somewhere, that is,
lower nfs does not remove, but rename file in '.nfs*' thing that
disapears at umap umount. this thing happend w/ nullfs too.

28 years agolost change from vnode_if.[hc] evolution.
mickey [Fri, 29 Mar 1996 19:06:46 +0000 (19:06 +0000)]
lost change from vnode_if.[hc] evolution.
"vnode_if.h" must be <sys/vnode_if.h>

28 years agoInitial commit of random data source devices' manual.
mickey [Fri, 29 Mar 1996 13:42:59 +0000 (13:42 +0000)]
Initial commit of random data source devices' manual.

28 years agoInitial commit of rnd devices' manual.
mickey [Fri, 29 Mar 1996 13:29:32 +0000 (13:29 +0000)]
Initial commit of rnd devices' manual.

28 years agoThe random data source driver itself.
mickey [Fri, 29 Mar 1996 12:09:55 +0000 (12:09 +0000)]
The random data source driver itself.
Initial commit.

28 years agoInitial commit of random source driver.
mickey [Fri, 29 Mar 1996 12:05:34 +0000 (12:05 +0000)]
Initial commit of random source driver.

28 years agoFrom NetBSD: merge of 960317
niklas [Fri, 29 Mar 1996 10:16:00 +0000 (10:16 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 23:21:51 +0000 (23:21 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 21:48:12 +0000 (21:48 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 18:24:33 +0000 (18:24 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: Use tr instead of caesar to generate fortunes-o
niklas [Thu, 28 Mar 1996 13:51:06 +0000 (13:51 +0000)]
From NetBSD: Use tr instead of caesar to generate fortunes-o

28 years agoMoved GNU spec stuff into Makefile.bsd-wrapper1 using PREREQ variable.
etheisen [Thu, 28 Mar 1996 07:31:07 +0000 (07:31 +0000)]
Moved GNU spec stuff into Makefile.bsd-wrapper1 using PREREQ variable.
This makes full BSD build support a reality for libiberty.  make obj
tags depends now works.  General cleanup and commenting.

28 years agoMisc. cleanup, esp. for obj-dirs, DESTDIR compilations and missing
niklas [Wed, 27 Mar 1996 23:00:01 +0000 (23:00 +0000)]
Misc. cleanup, esp. for obj-dirs, DESTDIR compilations and missing
dependencies.

28 years agoFrom NetBSD: merge of 960317
niklas [Wed, 27 Mar 1996 19:32:19 +0000 (19:32 +0000)]
From NetBSD: merge of 960317

28 years agoRevert last change which lost the functionality introduced in rev 1.4
niklas [Tue, 26 Mar 1996 22:50:34 +0000 (22:50 +0000)]
Revert last change which lost the functionality introduced in rev 1.4

28 years agoSomehow happened to coexist two versions of this in the same file.
mickey [Tue, 26 Mar 1996 15:38:45 +0000 (15:38 +0000)]
Somehow happened to coexist two versions of this in the same file.
fixed, older removed.

28 years agoFrom NetBSD: vnode_if.[ch] made machine independent.
mickey [Tue, 26 Mar 1996 15:09:28 +0000 (15:09 +0000)]
From NetBSD: vnode_if.[ch] made machine independent.
very usefull (for <sys/vnode.h> inclusion).
from the other side this is really machine independent ...
tested w/ i386, but should not cause errors w/ other arch's.
pls, test it (don't forget to reconfig kernel ;)

28 years agoMake "make obj" work, make builds to obj directories work. Don't put
niklas [Tue, 26 Mar 1996 00:27:38 +0000 (00:27 +0000)]
Make "make obj" work, make builds to obj directories work.  Don't put
object files in SRCS variables, add them to OBJS instead.  Also
explicitly mention -lg++ because g++ won't use the -L path for getting
libg++ unless done via the command line.

28 years agoFixup /usr/include/g++ hierarchy specification
niklas [Mon, 25 Mar 1996 23:59:13 +0000 (23:59 +0000)]
Fixup /usr/include/g++ hierarchy specification

28 years agoAdd support for building lint(1) library
tholo [Mon, 25 Mar 1996 23:31:14 +0000 (23:31 +0000)]
Add support for building lint(1) library

28 years agoMake a proper lvalue in INC
tholo [Mon, 25 Mar 1996 23:12:10 +0000 (23:12 +0000)]
Make a proper lvalue in INC

28 years agoAdd const qualifier to match prototype
tholo [Mon, 25 Mar 1996 23:10:34 +0000 (23:10 +0000)]
Add const qualifier to match prototype

28 years agoProtect use of long long with /* LONGLONG */
tholo [Mon, 25 Mar 1996 23:05:29 +0000 (23:05 +0000)]
Protect use of long long with /* LONGLONG */

28 years agoUse __asm, not asm
tholo [Mon, 25 Mar 1996 22:57:38 +0000 (22:57 +0000)]
Use __asm, not asm

28 years agoPrototype __syscall() correctly
tholo [Mon, 25 Mar 1996 22:52:20 +0000 (22:52 +0000)]
Prototype __syscall() correctly

28 years agoCannot do operations on a void pointer
tholo [Mon, 25 Mar 1996 22:34:43 +0000 (22:34 +0000)]
Cannot do operations on a void pointer

28 years agoUpdate prototypes to match declarations
tholo [Mon, 25 Mar 1996 22:31:44 +0000 (22:31 +0000)]
Update prototypes to match declarations
Remove unused variables
Install all man-page links

28 years agoAdd prototypes for internal functions
tholo [Mon, 25 Mar 1996 22:16:37 +0000 (22:16 +0000)]
Add prototypes for internal functions
Change inline to __inline

28 years agoProtect internal mcount symbol from lint(1)
tholo [Mon, 25 Mar 1996 22:11:05 +0000 (22:11 +0000)]
Protect internal mcount symbol from lint(1)
Use __asm, not asm

28 years agoPull in prototypes
tholo [Mon, 25 Mar 1996 22:06:52 +0000 (22:06 +0000)]
Pull in prototypes
Do the right thing in presense of __STDC__

28 years agoPull in more prototypes
tholo [Mon, 25 Mar 1996 21:58:38 +0000 (21:58 +0000)]
Pull in more prototypes

28 years agoPull prototypes into scope
tholo [Mon, 25 Mar 1996 21:54:35 +0000 (21:54 +0000)]
Pull prototypes into scope
Remove graticious casts

28 years agoPrototype internal functions
tholo [Mon, 25 Mar 1996 21:39:14 +0000 (21:39 +0000)]
Prototype internal functions
Do the right thing in presense of __STDC__

28 years agoinitgroups(3) 2nd argument should be gid_t
tholo [Mon, 25 Mar 1996 21:33:17 +0000 (21:33 +0000)]
initgroups(3) 2nd argument should be gid_t

28 years agoCast negative args to their unsigned type
tholo [Mon, 25 Mar 1996 21:28:35 +0000 (21:28 +0000)]
Cast negative args to their unsigned type

28 years agoUse correct prototype in the presense of __STDC__
tholo [Mon, 25 Mar 1996 21:23:56 +0000 (21:23 +0000)]
Use correct prototype in the presense of __STDC__

28 years agoAdd prototypes for internal functions
tholo [Mon, 25 Mar 1996 21:22:10 +0000 (21:22 +0000)]
Add prototypes for internal functions

28 years agoMinor cleanup
tholo [Mon, 25 Mar 1996 21:19:50 +0000 (21:19 +0000)]
Minor cleanup

28 years agoAdd prototypes for local functions, add const qualifiers where needed
tholo [Mon, 25 Mar 1996 21:17:36 +0000 (21:17 +0000)]
Add prototypes for local functions, add const qualifiers where needed

28 years agoChanged according to the kernel.
mickey [Mon, 25 Mar 1996 18:12:21 +0000 (18:12 +0000)]
Changed according to the kernel.

28 years agoFixed bug while copying args in mount that may cause a crash.
mickey [Mon, 25 Mar 1996 18:02:55 +0000 (18:02 +0000)]
Fixed bug while copying args in mount that may cause a crash.
Types changes and so.

28 years agoFrom NetBSD: merge of 960317
niklas [Mon, 25 Mar 1996 15:54:43 +0000 (15:54 +0000)]
From NetBSD: merge of 960317

28 years agoSomewhat better support for building lint library
tholo [Mon, 25 Mar 1996 07:13:00 +0000 (07:13 +0000)]
Somewhat better support for building lint library

28 years agoMove thread prototypes back to <sys/proc.h>
tholo [Sun, 24 Mar 1996 18:07:57 +0000 (18:07 +0000)]
Move thread prototypes back to <sys/proc.h>
Duplicate boolean_t definition in <sys/types.h>, protected by _KERNEL
Only use boolean_t definition in <vm/vm_param.h> when not _KERNEL
Mark latter two with XXX

28 years agoMove thread prototypes to <vm/vm_param.h> for consistency XXX
tholo [Sun, 24 Mar 1996 17:40:44 +0000 (17:40 +0000)]
Move thread prototypes to <vm/vm_param.h> for consistency   XXX

28 years agoThe delay functions takes unsigned arguments.
niklas [Sun, 24 Mar 1996 17:31:36 +0000 (17:31 +0000)]
The delay functions takes unsigned  arguments.

28 years agoActually make CLKF_BASEPRI do what it's supposed to do.
niklas [Sun, 24 Mar 1996 17:28:35 +0000 (17:28 +0000)]
Actually make CLKF_BASEPRI do what it's supposed to do.

28 years agoUse IPL_ constants instead of numeric values. Get rid of sicallbacks
niklas [Sun, 24 Mar 1996 17:26:22 +0000 (17:26 +0000)]
Use IPL_ constants instead of numeric values.  Get rid of sicallbacks
in favour of the remapped IPL facility.  Some argument type fixes as
well.

28 years agoPrefix "long long" with "/* LONGLONG */" to shut up lint(1)
tholo [Sun, 24 Mar 1996 17:07:32 +0000 (17:07 +0000)]
Prefix "long long" with "/* LONGLONG */" to shut up lint(1)

28 years agoiprint is used without DEBUG too
tholo [Sun, 24 Mar 1996 17:05:35 +0000 (17:05 +0000)]
iprint is used without DEBUG too

28 years agoAdd kern/kern_thread.c
tholo [Sun, 24 Mar 1996 17:02:43 +0000 (17:02 +0000)]
Add kern/kern_thread.c

28 years agoAdd prototype for mincore(2)
tholo [Sun, 24 Mar 1996 17:01:33 +0000 (17:01 +0000)]
Add prototype for mincore(2)

28 years agoOur lint(1) understands __const, __inline, __signed and __volatile
tholo [Sun, 24 Mar 1996 17:00:37 +0000 (17:00 +0000)]
Our lint(1) understands __const, __inline, __signed and __volatile

28 years agoPrefix usage of "long long" with a "/* LONGLONG */" comment to shut up
tholo [Sun, 24 Mar 1996 16:53:36 +0000 (16:53 +0000)]
Prefix usage of "long long" with a "/* LONGLONG */" comment to shut up
lint(1) about it

28 years agoUse __asm in place of asm
tholo [Sun, 24 Mar 1996 16:52:31 +0000 (16:52 +0000)]
Use __asm in place of asm

28 years agoProvide empty __warn_references() when we are not running GCC
tholo [Sun, 24 Mar 1996 16:51:43 +0000 (16:51 +0000)]
Provide empty __warn_references() when we are not running GCC

28 years agoUGLY, UGLY hack to force config create a pcmciabus.h file which is
niklas [Sun, 24 Mar 1996 16:50:15 +0000 (16:50 +0000)]
UGLY, UGLY hack to force config create a pcmciabus.h file which is
needed as there are multiattachable ISA devices that need it to exist.

28 years agoDo not define __indr_reference when running lint(1)
tholo [Sun, 24 Mar 1996 16:46:38 +0000 (16:46 +0000)]
Do not define __indr_reference when running lint(1)

28 years agoStyle police
niklas [Sun, 24 Mar 1996 16:13:34 +0000 (16:13 +0000)]
Style police

28 years agoFrom NetBSD: Add clobbers missing in asm statements
niklas [Sun, 24 Mar 1996 15:59:41 +0000 (15:59 +0000)]
From NetBSD: Add clobbers missing in asm statements

28 years agoMoved boolean_t back to vm_param.h; not protected by _KERNEL. It needs to
tholo [Sat, 23 Mar 1996 19:13:11 +0000 (19:13 +0000)]
Moved boolean_t back to vm_param.h; not protected by _KERNEL.  It needs to
be available to userland (libc, libkvm, others), but will break software if
defined in <sys/types.h>.

28 years agoUse __inline, not inline
tholo [Sat, 23 Mar 1996 18:30:11 +0000 (18:30 +0000)]
Use __inline, not inline

28 years agoFix previous changes; accept and forward a device name, do not just use
tholo [Fri, 22 Mar 1996 18:29:50 +0000 (18:29 +0000)]
Fix previous changes; accept and forward a device name, do not just use
a generic name "pci" for interrupt statistics

28 years agoFix previous changes; we actually take a device name too so as to avoid
tholo [Fri, 22 Mar 1996 18:27:25 +0000 (18:27 +0000)]
Fix previous changes; we actually take a device name too so as to avoid
having just non-descript "pci" devices show up in interrupt stats

28 years agosethostid() actually do return a value
tholo [Fri, 22 Mar 1996 07:38:15 +0000 (07:38 +0000)]
sethostid() actually do return a value

28 years agosethostid() is documented and has historically returned int, not long
tholo [Fri, 22 Mar 1996 07:37:29 +0000 (07:37 +0000)]
sethostid() is documented and has historically returned int, not long

28 years agoFrom NetBSD: Merge of 960317
niklas [Thu, 21 Mar 1996 00:15:18 +0000 (00:15 +0000)]
From NetBSD: Merge of 960317

28 years agoFrom NetBSD: eliminate setjmp.h
niklas [Thu, 21 Mar 1996 00:12:55 +0000 (00:12 +0000)]
From NetBSD: eliminate setjmp.h

28 years agoFrom NetBSD: eliminate setjmp.h
niklas [Thu, 21 Mar 1996 00:07:42 +0000 (00:07 +0000)]
From NetBSD: eliminate setjmp.h

28 years agoFrom NetBSD: Remove ns_cksum.c (now in sys/conf/files)
niklas [Thu, 21 Mar 1996 00:04:55 +0000 (00:04 +0000)]
From NetBSD: Remove ns_cksum.c (now in sys/conf/files)

28 years agoWe moved away from NetBSD+OpenBSD long ago; / really does live
hvozda [Wed, 20 Mar 1996 19:49:09 +0000 (19:49 +0000)]
We moved away from NetBSD+OpenBSD long ago; / really does live
on wd0a finally.  Also we swap to files when we are really beating
the machine.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 01:00:35 +0000 (01:00 +0000)]
Fix back wrong patches.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 00:43:58 +0000 (00:43 +0000)]
Fix back wrong patches.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 00:31:00 +0000 (00:31 +0000)]
Fix back wrong patches.

28 years agoFix RCS Id botch in last change
niklas [Tue, 19 Mar 1996 23:26:49 +0000 (23:26 +0000)]
Fix RCS Id botch in last change

28 years agoFrom NetBSD: merge of 960317
niklas [Tue, 19 Mar 1996 23:14:49 +0000 (23:14 +0000)]
From NetBSD: merge of 960317

28 years agoMerging w/ NetBSD 021796.
mickey [Tue, 19 Mar 1996 21:09:06 +0000 (21:09 +0000)]
Merging w/ NetBSD 021796.
speaker upgraded to the current.
some changes to the VM stuff (ie kern_thread.c added and so).

28 years agoMissed from last import.
mickey [Tue, 19 Mar 1996 16:30:10 +0000 (16:30 +0000)]
Missed from last import.

28 years agoSIOCAIFCONF -> SIOCAIFADDR
niklas [Tue, 19 Mar 1996 11:03:33 +0000 (11:03 +0000)]
SIOCAIFCONF -> SIOCAIFADDR

28 years agoFrom NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129
niklas [Mon, 18 Mar 1996 19:15:53 +0000 (19:15 +0000)]
From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129

28 years agoFrom NetBSD: a a => a (close pr 2204 by Simon Burge <simonb@telstra.com.au>).
niklas [Mon, 18 Mar 1996 08:43:29 +0000 (08:43 +0000)]
From NetBSD: a a  => a  (close pr 2204 by Simon Burge <simonb@telstra.com.au>).

28 years agoLink in libstdc++ now that libg++ 2.7.1 is in the tree.
etheisen [Sat, 16 Mar 1996 07:00:18 +0000 (07:00 +0000)]
Link in libstdc++ now that libg++ 2.7.1 is in the tree.

28 years agoWorkaround for testing of Makefile.bsd-wrapper encountered while porting
etheisen [Sat, 16 Mar 1996 05:32:40 +0000 (05:32 +0000)]
Workaround for testing of Makefile.bsd-wrapper encountered while porting
libg++.

28 years agoAllow native BSD build of libg++ 2.7.1. This is a complete replacement of
etheisen [Sat, 16 Mar 1996 05:18:41 +0000 (05:18 +0000)]
Allow native BSD build of libg++ 2.7.1.  This is a complete replacement of
the GNU build procedure, not a wrapper.  Generates standard, profiled,
shared object, and shared library versions of libiberty, libstdc++, and
libg++.  libiberty version 0.0, libstdc++ version 27.1, and libg++ version
27.1.  Requires modification of bsd.subdir.mk pmake include.  Targets
linked with the shared libraries libstdc++ and libg++ will, by default,
automatically be run time linked with libm and libcurses.

28 years agoAllow standard GNU build with openbsd.
etheisen [Sat, 16 Mar 1996 04:20:13 +0000 (04:20 +0000)]
Allow standard GNU build with openbsd.

28 years agoReinstate dead COPYING for libg++ 2.7.1
niklas [Fri, 15 Mar 1996 22:45:54 +0000 (22:45 +0000)]
Reinstate dead COPYING for libg++ 2.7.1

28 years agoImport of GNU libg++ 2.7.1 port (prepared by Erik Theisen)
niklas [Fri, 15 Mar 1996 22:17:26 +0000 (22:17 +0000)]
Import of GNU libg++ 2.7.1 port (prepared by Erik Theisen)

28 years agoFix bogosity in import of Lite2 fix
tholo [Fri, 15 Mar 1996 07:24:42 +0000 (07:24 +0000)]
Fix bogosity in import of Lite2 fix

28 years agoRemoved for 2.7.1 import.
etheisen [Fri, 15 Mar 1996 06:42:24 +0000 (06:42 +0000)]
Removed for 2.7.1 import.

28 years agoFrom Lite2; mark terminal devices as exclusively opened before flushing
tholo [Thu, 14 Mar 1996 08:41:45 +0000 (08:41 +0000)]
From Lite2; mark terminal devices as exclusively opened before flushing

28 years agoFrom Lite2; only try to match a destination address on a point-to-point
tholo [Thu, 14 Mar 1996 08:35:35 +0000 (08:35 +0000)]
From Lite2; only try to match a destination address on a point-to-point
interface if the destination address has been set