Commit Graph

43472 Commits

Author SHA1 Message Date
phil
86c53e4e63 /dev/cfs* for Coda. 1998-09-14 16:06:27 +00:00
phil
567df41ca2 Add /dev/cfs* for Coda. 1998-09-14 16:04:10 +00:00
leo
d8ea31db0f Improve initialisation of the Crazy Dots card. (Julian Coleman) 1998-09-14 14:25:38 +00:00
tv
b6b7269733 Nuke the termios stuff from the 1997/03/11 import, which prevents ping
from being run in the background of most shells without redirecting stdin
from /dev/null.  (AFAICT, the termios stuff is useless and does not
interfere with SIGINFO handling.)
1998-09-14 12:52:47 +00:00
frueauf
988c143116 Add (ugly?) code to prevent core dump as described in pr 5071 by Havard Eidnes.
XXX Maybe someone with more taste and understanding should have a look
XXX at this? At least I prefer this over the solution provided in the pr.
1998-09-14 11:52:21 +00:00
leo
e325a47307 Fix "unused variable `c'" warning. (From Julian Coleman) 1998-09-14 11:50:59 +00:00
kleink
4048e12f31 Add wrappers around mutex and rwlock run-time initialization. 1998-09-14 11:03:05 +00:00
pk
0a46abfd42 Collect redundant code into cpu_setup(). 1998-09-14 10:37:12 +00:00
hwr
bc8eeb32a3 Add greconfig and manpages to distribution. 1998-09-14 09:51:01 +00:00
pk
b1b69e4195 Fix cache bit confusion in pmap_alloc_cpu(). 1998-09-14 09:46:11 +00:00
hubertf
bd946d241e constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:30:57 +00:00
hubertf
006cc8ac96 return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:29:08 +00:00
hubertf
4e4187282a constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-14 09:13:46 +00:00
thorpej
ea77978921 Fix typo in previous, and also don't version _setjmp/_longjmp; after
more careful analysis, I realized that they don't access the extended
jmp_buf data area, and thus would not have changed.
1998-09-14 07:27:08 +00:00
thorpej
f09a4dc257 Version setjmp(), longjmp(), _setjmp(), _longjmp(), sigsetjmp(), and
siglongjmp().  The size of struct sigcontext, and thus the size
of jmp_buf and sigjmp_buf on some platforms, has changed.
1998-09-14 07:10:53 +00:00
jonathan
0b09668693 Fix typos in signal rework (sc.regs -> sc-regs, rege -> regs). 1998-09-14 07:04:06 +00:00
ross
68c92cf43b Descend into libbz2. 1998-09-14 06:39:53 +00:00
ross
381c357cf0 distrib bzlib.h and more libbz2 pieces 1998-09-14 06:13:36 +00:00
ross
cb634251ae Distribute libbz2. 1998-09-14 06:09:27 +00:00
thorpej
a4a356f9a6 Need 83 longs for a jmp_buf now. 1998-09-14 06:07:29 +00:00
ross
4ef30e719d Add bzip2 files and links. 1998-09-14 06:06:23 +00:00
scottr
0af57c2461 Correct a serious problem that affects at least front ends that can only
use PIO (or equivalent) code to do asynchronous transfers:  In
ncr5380_scsi_cmd(), test to see if the request has been completed after
the call to ncr5380_sched(), and return COMPLETE if so.  This avoids
going into an infinite loop in scsipi_execute_xs() while waiting for an
interrupt to trigger completion of the transfer... which, of course,
never happens, since it's already done.
1998-09-14 05:56:14 +00:00
scottr
f2c6836685 Fix a problem uncovered when we started to use the pool allocator to manage
scsipi_xfer structures.

When scsipi_execute_xs() calls the driver's scsi_cmd function, it assumes
that it can still dereference a pointer to the scsipi_xfer struct.  Since
scsipi_done() has already been called, which in turn has called
scsipi_free_xs(), the struct has already been returned the structure to
the pool!  In other words, xs->flags has been compromised, but we are still
testing it.

These changes resolve the problem by doing the following:

- In scsipi_execute_xs(), if the hardware driver's scsi_cmd function
  returns SUCCESSFULLY_QUEUED, set a new flag (SCSI_ASYNCREQ) in xs->flags.
  Since the request will be handled asynchronously, we will need the
  scsipi_xfer struct to be freed in scsipi_done().

  If the hardware driver's scsi_cmd function returns COMPLETE, we now
  simply return any actual errors, or 0 if none occurred.  (Previously,
  we may have returned EJUSTRETURN, of which the sole effect was to
  avoid freeing the scsipi_xfer struct in our caller.)

- In scsipi_done(), only free the scsipi_xfer struct for async requests.
  The contents of the struct will otherwise remain valid until the
  function that initiated the transfer frees it.

With this change, responsibility for freeing the struct now lies in two
places, depending on the type of the request:

- For synchronous requests, the routine calling scsipi_execute_xs()
  must clean up.

- For asynchronous requests, scsipi_done() cleans up (as it always has).

[Note:  this change also corrects a problem with sddump():  scsipi_done()
was attempting to return a static scsipi_xfer struct to the pool!  Since
dumps are performed synchronously, we now handle this correctly.]

This solution was provided by Jason Thorpe, after I got him to look at
some related (but insufficient) attempts of my own.
1998-09-14 05:49:21 +00:00
scottr
10640f1bfc Fix a problem uncovered when we started to use the pool allocator to manage
scsipi_xfer structures.

When scsipi_execute_xs() calls the driver's scsi_cmd function, it assumes
that it can still dereference a pointer to the scsipi_xfer struct.  Since
scsipi_done() has already been called, which in turn has called
scsipi_free_xs(), the struct has already been returned to the pool!  In
other words, xs->flags has been compromised, but we are still testing it.

These changes resolve the problem by doing the following:

- In scsipi_execute_xs(), if the lower-level driver's scsi_cmd function
  returns SUCCESSFULLY_QUEUED and SCSI_NOSLEEP is set in xs->flags, set a
  new flag (SCSI_ASYNCREQ).  This indicates that scsipi_done() should free
  the scsipi_xfer struct.

  If the lower-level driver's scsi_cmd function returns SUCCESSFULLY_QUEUED
  but SCSI_NOSLEEP is not set, we wait (via tsleep()) for the request to
  complete, then fall through to the COMPLETE case.

  If the lower-level driver's scsi_cmd function returns COMPLETE, we now
  simply return any actual errors, or 0 if none occurred.  (Previously,
  we may have returned EJUSTRETURN, of which the sole effect was to
  avoid freeing the scsipi_xfer struct in our caller.  No code seems
  to depend on this behavior, however.)

- In scsipi_done(), only free the scsipi_xfer struct for async requests.
  The contents of the struct will otherwise remain valid until the
  function that initiated the transfer frees it.

With this change, responsibility for freeing the struct now lies in two
places, depending on the type of the request:

- For synchronous requests, the routine calling scsipi_execute_xs()
  must clean up.

- For asynchronous requests, scsipi_done() cleans up (as it always has).

[Note:  this change also corrects a problem with sddump():  scsipi_done()
was attempting to return a static scsipi_xfer struct to the pool!  Since
dumps are performed synchronously, we now handle this correctly.]

This solution was provided by Jason Thorpe, after I got him to look at
some related (but insufficient) attempts of my own.
1998-09-14 05:49:20 +00:00
ross
c7c3a68ca1 Fix MLINKS. Define LDADD and DPADD. 1998-09-14 05:34:41 +00:00
marc
34b14f2e9e remove the sortlist line preferring nasa's nameservers. Sorry jason :-) 1998-09-14 05:05:44 +00:00
ross
51ecc07eb9 NetBSD rcs id keyword. 1998-09-14 04:42:45 +00:00
ross
28e76b2580 Add NetBSD-specific Makefile. 1998-09-14 04:42:21 +00:00
ross
e4cac751bf Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 04:27:53 +00:00
ross
382f00edd8 Document noasync and nosync.
Clarify the meaning of sync.
Run all the -o keywords through the Cm (keyword emphasis) macro.
1998-09-14 03:48:30 +00:00
ross
43b9fa8f01 New files specific to the NetBSD libbz2. 1998-09-14 03:18:12 +00:00
ross
cede6f3c99 More rcs id keywords. 1998-09-14 03:13:53 +00:00
ross
ec61451f99 Adding NetBSD rcs id keywords. 1998-09-14 03:08:17 +00:00
ross
6610fc2af7 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 03:01:19 +00:00
thorpej
27f3588d7b oops, missed one. 1998-09-14 02:50:12 +00:00
thorpej
cbfc257eda sigset13_t -> int. 1998-09-14 02:48:33 +00:00
ross
f9cab68505 NetBSD rcs id keywords.
New Makefile, README.
1998-09-14 02:37:23 +00:00
ross
90b00880b2 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 02:13:36 +00:00
thorpej
3d3a3c610c Back out previous change; it was incorrect. 1998-09-14 00:57:51 +00:00
tv
058853ee30 Use WARNS=1 to get -Wall, and properly disable -Wmain on gcc 2.8 1998-09-14 00:50:22 +00:00
tv
768b3efab5 Switch i386 to egcs 1.1. 1998-09-14 00:29:28 +00:00
eeh
83116b3d6b Libc fixes, mostly to work around the new signal stuff. 1998-09-13 23:54:44 +00:00
perry
5d0722b723 Note that kernel Makefile support for tags is totally broken. 1998-09-13 23:50:39 +00:00
tv
a6844453f0 More egcs updates: MD-split objc headers, and add egcs compilers and
static libraries where applicable.
1998-09-13 23:40:35 +00:00
tv
8d78198425 Add libobjc and libg2c runtime shared objects from egcs. 1998-09-13 23:38:33 +00:00
tv
1428a599bf Rethink the origins of LDSTATIC. Instead, use an option NOLINKLIB, which
builds and installs only what is necessary to link and run binaries, when
the library is not externally useable.
- NOPIC: Create and link against a static library.
- PIC: Create, link against, and install a shared object.
- PIC+LDSTATIC: Create and link against a static library; create and
  install a shared object.
1998-09-13 23:25:18 +00:00
tron
7010f82942 Sync with "GENERIC". 1998-09-13 23:15:46 +00:00
tv
6b7ad68b9c Remove directory "/usr/include/g++/gen". 1998-09-13 22:32:17 +00:00
tv
a128febf5b MD-split the libstdc++ binaries and includes to reflect the state of
egcs/non-egcs default compiler on each platform.
1998-09-13 22:31:00 +00:00
pk
9949f7d556 regen. 1998-09-13 22:29:06 +00:00