Commit Graph

26762 Commits

Author SHA1 Message Date
thorpej
667f747f9a m_copyback() is now in uipc_mbuf.c 1997-03-27 20:38:20 +00:00
thorpej
d1c9089a16 Update for the new mbuf code, in a slighly kludgy way. Basically, these
drivers played a somewhat evil trick with clusters, which is now
replaced by a somewhat evil trick with regular malloc'd memory.
1997-03-27 20:36:14 +00:00
thorpej
2a4b742e6a Update and enhancement to the mbuf code, to support use of non-cluster
external storage.  Highlights:

	- additional "void *" argument to (*ext_free)(), an opaque
	  cookie for use by the free function.
	- MCLALLOC() and MCLFREE() calls are gone.  They are replaced
	  by MEXTADD() (add external storage to mbuf), MEXTMALLOC()
	  (malloc() external storage and attach to mbuf), and
	  MEXTREMOVE() (remove external storage from mbuf).
	- completely new external storage reference counting
	  mechanism; mclrefcnt[] is gone.

These changes will eventually be used to pass driver DMA buffers up
the network stack, and reduce/eliminate copies in certain code paths
(e.g. NFS writes).

From Matt Thomas <matt@3am-software.com> and myself <thorpej@nas.nasa.gov>,
with some input from Chris Demetriou <cgd@cs.cmu.edu> and review by
Charles Hannum <mycroft@mit.edu>.
1997-03-27 20:33:07 +00:00
gwr
45e8a48a8f Renamed boot to cpu_reboot 1997-03-27 20:23:48 +00:00
gwr
b2d05722be Renamed boot to cpu_reboot (via repository copy) 1997-03-27 20:15:05 +00:00
christos
22d479a4a8 Don't generate an include target if we don't have INCS set, because SUBDIRS
can make one too. This will break on Makefiles that have both INCS and SUBDIRS,
so then we'll need to change includes: to includes::, but we don't have any
yet.
1997-03-27 17:39:31 +00:00
christos
6c7d983258 Add bsd.files.mk 1997-03-27 17:35:58 +00:00
christos
cef52070f9 Put the FILES generated rules in a separate .mk file since both bsd.prog.mk
and bsd.lib.mk use them.
1997-03-27 17:33:34 +00:00
christos
cc117ae3ac Don't keep trying getpwuid(0) when ll_time == 0! This brings down the
execution time from 5 minutes -> 1 second in our password file.
1997-03-27 17:25:49 +00:00
christos
b4fe701a22 - Disable globbing for targets/dependencies when POSIX is defined.
- Fix globbing so that patterns that don't have a matching number of [] or {}
  don't get expanded. (before the [ case got expanded to nothing!) This is
  disabled.
1997-03-27 17:20:18 +00:00
pk
6fee4ceb1f viking_cache_enable: clear caches only if not yet on.
viking_pcache_flush: don't use flash-clear; use hard-coded parms instead(XXX)
1997-03-27 16:02:10 +00:00
darrenr
fe3bc025d0 Bring in entire 3.2alpha2 source tree 1997-03-27 15:13:58 +00:00
mycroft
c2c16c1c2c Set SCRIPTSDIR. 1997-03-27 11:06:20 +00:00
mycroft
5fa188a26f Make the SCRIPTS case mimic the FILES case more closely, so we can override
the destination direectory, etc.
1997-03-27 11:05:32 +00:00
mycroft
b3048006fe Install the help file again. 1997-03-27 10:55:21 +00:00
mycroft
908bee20db Use bsd.prog.mk, to deal with FILES. 1997-03-27 10:45:57 +00:00
mycroft
d3a9fd7e51 Nuke an extra ${DESTDIR}. 1997-03-27 09:52:03 +00:00
mycroft
d51d618d7a Install files via INCS, and GC the bogus permission fixing hack. 1997-03-27 09:29:29 +00:00
mycroft
cdb33ca37e Do the symlink for HIDEGAME here, via SYMLINKS. 1997-03-27 09:13:14 +00:00
mycroft
0d6b2973f3 Remove knowledge of HIDEGAME from here. 1997-03-27 09:10:09 +00:00
mycroft
d2ec2114bf Do the symlink for HIDEGAME here, via SYMLINKS. 1997-03-27 09:08:58 +00:00
mycroft
0d07ddd923 Set FILESDIR correctly. 1997-03-27 08:59:22 +00:00
mycroft
90de81834d Set SCRIPTSNAME correctly. 1997-03-27 08:57:26 +00:00
mycroft
4c5c1ab440 Set FILESDIR. 1997-03-27 08:52:23 +00:00
mycroft
557dd62340 No need to override BINDIR here. 1997-03-27 08:50:26 +00:00
mycroft
494f5c0c99 Set FILESDIR. 1997-03-27 08:48:56 +00:00
mikel
ccf0993f9d cleanup xrefs 1997-03-27 08:20:35 +00:00
mikel
e8ec797779 oops, missed one (from PR 3397) 1997-03-27 07:57:12 +00:00
mikel
4ab6dc7d2e allow examination of SIGKILL and SIGSTOP signal handlers (but still
disallow changes); from Klaus Klein in PR standards/3398.
1997-03-27 07:52:25 +00:00
scottr
1cc0fb9b24 Add SDEV_AUTOSAVE quirks for IBM 0663H{08,12} disks 1997-03-27 07:37:54 +00:00
scottr
b316767c92 Work around an ambiguity in the SCSI spec. Some implementations,
particularly older ones, don't do a SAVE DATA POINTER before disconnecting.
When the driver reconnects, it does an implicit RESTORE POINTERS, and
restores the data pointer from *before* the last transfer.  If the driver
calculates the residual using the data pointer and doesn't account for
this, the residual will be wrong.

What we do is test for the SDEV_AUTOSAVE quirk when we see a disconnect
message, falling through to do a SAVE DATA POINTER if the quirk applies
to this target.

The workaround was suggested by Mycroft, who also provided the explanation
of the problem.  Actual code was (mostly) ripped off from the 53C9x driver.
1997-03-27 07:30:40 +00:00
mikel
b81091e992 POSIX.1 specifies that a failed link() to a directory must return EPERM,
and EMLINK was not documented; from Klaus Klein in PR standards/3397.
Also documented EOPNOTSUPP for filesystems that don't support hard links.
1997-03-27 07:30:25 +00:00
mycroft
b9a022ebe6 Add EXEC_ELF32. 1997-03-27 06:18:31 +00:00
mikel
19fd4b60de make setpgid(pid, pgrp) return EINVAL if pgrp < 0 as required by POSIX.1;
from Klaus Klein in PR standards/3395.
1997-03-27 06:14:03 +00:00
cgd
bf22891897 update for current system configuration 1997-03-27 06:04:39 +00:00
mikel
a4bddb19a0 more libgnumalloc.a -> ${LIBGNUMALLOC} 1997-03-27 05:13:52 +00:00
mycroft
70ab3781a1 If we're going to run things through strip.sed, let's be consistent about it. 1997-03-27 03:12:32 +00:00
mikel
3188b7933b add ktrace(2) and shmdt(2) 1997-03-27 02:42:36 +00:00
mikel
f07e47bdb6 add ktrace(2), don't segregate SYSV IPC manpages, and add link for shmdt(2) 1997-03-27 02:39:15 +00:00
gwr
8be7d1ef9e No longer need the hack that forced SCSI_POLL when cold. 1997-03-27 01:16:01 +00:00
pk
c5d5c54038 Add workaround for the "extraneous bytes after re-select" problem that
ESP100 chips may exhibit.
1997-03-27 00:29:57 +00:00
gwr
5b48e061ce cleanup 1997-03-27 00:15:31 +00:00
gwr
9228e630d5 s/boot/cpu_reboot/ 1997-03-26 23:44:27 +00:00
gwr
c29412f1bb fix a warning 1997-03-26 23:27:12 +00:00
thorpej
f7a196917a Make this work with obj dirs. 1997-03-26 23:11:15 +00:00
gwr
37b247edde Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/ 1997-03-26 22:42:13 +00:00
gwr
71e43d14ab Move findroot/setroot stuff from configure() to cpu_rootconf(). 1997-03-26 22:38:40 +00:00
cgd
34732bad50 log date changes to wtmp, in the same way that 'date' does. 1997-03-26 21:12:58 +00:00
cgd
4274523efe pull in util.h rather than prototypeing logtwmp() locally. 1997-03-26 20:28:11 +00:00
gwr
7b23790667 Add cdev_lpt_init(NPP,pp) for the 3/80 1997-03-26 17:29:10 +00:00