jkh [Tue, 15 Nov 1994 08:10:35 +0000 (08:10 +0000)]
Add back tar - I'm not sure where it went again! I know that
cpio reads tar files, but this gives you "tar" in its old familar
way, which is important for those trying to read the old extract.sh'd
bindist.
ats [Mon, 14 Nov 1994 23:39:33 +0000 (23:39 +0000)]
scsiconf.h:
Change the sc_link structure from 8 targets with 8 lun's to
16 targets with 8 lun's. Wide scsi and the ncr 825 does support 16 targets.
scsiconf.c:
move the addition of the trailing NUL's out of a then clause, they are also
needed in the else clause for an unknown device.
bde [Mon, 14 Nov 1994 15:04:06 +0000 (15:04 +0000)]
Rewrite almost everything.
Alphabetize.
Write all i/o functions in sleep so that we don't use anything from
NetBSD.
Restore the correct type of u_int for ports. This saves a whole cycle
per i/o on 486's.
Change `inline' back to __inline to avoid compiler warnings with
-Wreally-all.
Don't implement bdb() unless BDE_DEBUGGER is defined. Declare bdb_exists
outside the function to avoid hundreds of compiler warnings.
Let the compiler pick the register in asms if possible.
Implement ffs() using inline asm(). gcc provides a slightly different
one. It was broken in gcc-2.4.5 but works now. Declaring a correct
version inline ensures getting a correct version. FreeBSD-1.1.5 has
an slow inline version but FreeBSD-2.0 has a library version (which
probably never gets used).
Do inb() and outb() without using %edx for constant ports below 0x100.
Remove casts to the same type in queue functions.
Declare prototypes for everything implemented i386/*.s and also for
everything that is normally implemented as an inline here (I don't
like the current complete dependency on gcc). Ifdef out the prototypes
that are declared elsewhere. THere should be a separate header to
declare things implemented in i386/*.s, but then it would be harder
to override declarations with inlines.
bde [Mon, 14 Nov 1994 14:59:06 +0000 (14:59 +0000)]
Log processes that exit with an masked npx exception that would trap
with the current default exception (un)mask. There should be no such
processes unless you change the mask. Someday the mask should be
changed to the IEEE default of everything masked. The npx state
gets saved so that it can be checked and this may have the side effect
of fixing a bug that was reported for 1.1.5. (npx exceptions may
sometimes leak across exits and clobber another process. I can't see
how this can happen.)
Get some missing/wrong declarations from headers now that the headers
have them.
bde [Mon, 14 Nov 1994 14:56:46 +0000 (14:56 +0000)]
Hide the declaration of ffs() if an inline ffs() is implemented.
I couldn't find a better way to avoid compiler warnings about
redundant and/or inconsistent declaration of ffs(). I'd like to
be able to declare prototypes in general headers without committing
to implementing them as `static inline' or `extern', but there
seems to be no way to do this with gcc-2.6.1. E.g.,
int foo(void);
static __inline int foo(void) { return 1; }
causes a warning about the linkage mismatch, while the opposite
order causes a warning about the redundant declaration.
bde [Mon, 14 Nov 1994 14:18:15 +0000 (14:18 +0000)]
Remove 1.5+K of bloat for unused idt entries.
Partly support BDE_DEBUGGER. Still broken by conflict with APM. Does
nothing if BDE_DEBUGGER is not defined.
Clean up prototypes and data declarations. Declare most of the segment
functions that are implemented in support.s. Make data private in
machdep.c if possible.
bde [Mon, 14 Nov 1994 14:09:38 +0000 (14:09 +0000)]
Declare fuswintr() and suswintr() the same as fusword() and susword().
(These functions are implemented in assembler so the compiler can't
check the declarations.)
Clean up prototypes: restore CSRG's alphabetical order, arg names in
prototypes, formatting to fit in 80 columns
bde [Mon, 14 Nov 1994 13:08:44 +0000 (13:08 +0000)]
Declare `struct dkbad' with the correct scope so that everything including
<sys/disklabel.h> doesn't have to include <sys/dkbad.h> to avoid compiler
warnings.
bde [Mon, 14 Nov 1994 08:19:08 +0000 (08:19 +0000)]
pmap.h:
Disable the bogus declaration of pmap_bootstrap(). Since its arg list
is machine-dependent, it must be declared in a machine-dependent header.
vm_page.h:
Change `inline' to `__inline' and old-style function parameter lists for
inlined functions to new-style.
`inline' and old-style function parameter lists should never be used in
system headers, even in very machine-dependent ones, because they cause
warnings from gcc -Wreally-all.
bde [Mon, 14 Nov 1994 06:44:45 +0000 (06:44 +0000)]
Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in
$(DESTDIR)/$(LIBDIR) (I need SHLIBDIR. The / was a bug and the
$(...) style was inconsistent.)
Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in
$(DESTDIR)/$(LIBDIR).
bde [Mon, 14 Nov 1994 06:28:20 +0000 (06:28 +0000)]
This change was actually made in the previous revision:
Define SHLIBDIR?= ${LIBDIR} and install shared libraries in
${DESTDIR}${SHLIBDIR} instead of in ${DESTDIR}${LIBDIR}.
SHLIBDIR may be defined in /etc/make.conf to override the
default of /usr/lib (I use /lib). Other changes are required
for non-default shared library directories to actually work
(ld* and crtso have too many hard-coded paths).
bde [Mon, 14 Nov 1994 05:57:36 +0000 (05:57 +0000)]
Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries. This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
bde [Mon, 14 Nov 1994 04:55:39 +0000 (04:55 +0000)]
Define `RANTOUCH?= ${RANLIB} -t' and use it instead of ${RANLIB} -t.
RANTOUCH may be defined in /etc/make.conf as
`${ECHO} skipping ${RANLIB} -t' to help stop `make install' from
changing the timestamps on unchanged libraries, thus making the
uninstalled binaries appear to be out of date... Other changes
are required to stop install from clobbering the timestamps.
dg [Mon, 14 Nov 1994 02:57:40 +0000 (02:57 +0000)]
Set laundry flag when transitioning an inactive page from clean to dirty.
This fixes a performance bug where pages would sometimes not be paged
out when they could be.
dg [Sun, 13 Nov 1994 22:48:55 +0000 (22:48 +0000)]
Fixed bug where a read-behind to a negative offset would occur if the
fault was at offset 0 in the object. This resulted in more overhead but
was othewise benign. Added incore() check in vnode_pager_has_page()
to work around a problem with LFS...other than slightly higher overhead,
this change has no affect on UFS.
phk [Sun, 13 Nov 1994 21:05:28 +0000 (21:05 +0000)]
Add a new "distribute" target. This is a variant of install, which will
put the stuff into the right "distribution". As default things end up
in "bindist".
Normal (ie: most) makefiles know naught of this.
More commits will follow, which will direct various parts of the tree
into the distribution we want them in.
Some of the grief of being release-engineer is supposed to go away with this.
phk [Sun, 13 Nov 1994 20:47:44 +0000 (20:47 +0000)]
Added routines to read the canonical UNIX configuration file. This will
later be applied to a number of programs (inetd for instance) to clean
out the bogus code doing the same thing, modulus all the bugs.
If you need to read a '#'-is-a-comment-file, please use these routines.
I realize that the shlib# should be bumped (for the non-US world:
increased by something), but will defer this until something significant
happens.
dg [Sun, 13 Nov 1994 12:46:08 +0000 (12:46 +0000)]
Added P_SWAPPING flag to implement a lock for swap in. It was possible for
a process to be chosen for swap-in while it was being swapped-out. This was
BAD.
dg [Sun, 13 Nov 1994 12:39:38 +0000 (12:39 +0000)]
Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot time
related to interrupts being enabled before the device attach. The interrupt
should be mapped *after* the device attach.
gibbs [Sun, 13 Nov 1994 10:12:37 +0000 (10:12 +0000)]
Andres Vega Garcia's improvements to the ep driver. This driver is a merging
of the 1.1.5 driver, a recent version of the NetBSD driver, Andres'
transmission start threshold code, and all other relavent changes to the driver
since it was brought into 2.0. The multicast support from NetBSD has not be
folded in yet. I've tested it under high loads for two weeks and it is now
robust enough to be included in the GENERIC kernel.
Reviewed by: gibbs
Submitted by: vega@sophia.inria.fr (Andres Vega Garcia)
nate [Sun, 13 Nov 1994 09:42:07 +0000 (09:42 +0000)]
Add Matt Thomas' le0 DEPCA driver to the GENERIC kernel. This works
but I can't test to see if it walks on other ethernet drivers. Can the
install folks add this driver to the install script?
dg [Sun, 13 Nov 1994 07:17:46 +0000 (07:17 +0000)]
In cases where it is possible, use the card's configured irq rather than
the one compiled into the kernel. Left in some commented-out shared memory
performance test code.
paul [Sun, 13 Nov 1994 06:45:44 +0000 (06:45 +0000)]
The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
jkh [Sun, 13 Nov 1994 01:46:22 +0000 (01:46 +0000)]
Disable the building of the evil floppy images. We blew through the
1.2MB barrier again. I tell ya, Poul, it's a losing game! You shave
50 bytes off, the next change takes 100 back, and this is just ALPHA!
The 1.2MB weenies will _just have to buy new drives_!
jkh [Sat, 12 Nov 1994 20:39:15 +0000 (20:39 +0000)]
Erm, on second thought, if it's named `mkextract.sh' then everyone
will think that it builds the extract.sh in THIS directory, which it
most certainly doesn't. Rename it to be a bit longer, but more explanatory.
ats [Sat, 12 Nov 1994 17:13:23 +0000 (17:13 +0000)]
Delete a bogus check that the SCSI_DELAY only works for the first
scsi adapter. Let it work on every adapter. Someone want to rewrite
this to be coupled with the adapter specification in the config file,
so that you can say which adapters need it ?