Commit Graph

21088 Commits

Author SHA1 Message Date
is 50334a801c Set the /dev/reload protection after creating it, not the /dev/mem one.
Thanks to Carsten Hammer for pointing this out.
1996-06-24 18:44:28 +00:00
pk 6e8ba625ef Ignore the mountpoint's `v_usecount' in nfs_unmount() if MNT_FORCE is on.
This takes care of two related problems:
	- `umount -f' wouldn't work if someone's working directory is
	  the filesystem root.
	- vfs_unmountall() would complain about a busy `/' on a
	  diskless setup.
1996-06-24 10:26:40 +00:00
pk c360ca6e11 Make untimeout(9) description match reality.. and add a BUGS section for it. 1996-06-23 22:32:34 +00:00
pk 8623ef54ac Add timeout(9)/untimeout(9) 1996-06-23 22:11:56 +00:00
thorpej 5ab89821de Use sigemptyset() rather than frobbing the sa_mask directly. 1996-06-23 22:08:43 +00:00
jonathan 7620af6671 Fix 4.4bsd/pmax bug in memory-sizing loop:
The physical memory-sizer claims to preserve memory contents
(specifically the contents of msgbuf).  The loop writes different
values into two adjacent locations and reads the contents of the
first, to ensure that whatever is read back from the first location is
from memory and isn't just the first write persisting on the bus.

The loop preserved the value of the first location, but not the second,
resulting in the second test value ('ZZZZ') over-writing a word in msgbuf.
1996-06-23 21:08:54 +00:00
leo 4982d25253 If kvm_dump_mkheader() returns 0, simply state 'no core dump' instead
of logging and error.
1996-06-23 20:30:39 +00:00
leo fa72190309 Fix the empty error message problem more completely. When the magic-check
fails on the cpu_hdr, return 0 instead of -1. This allows the caller to
distinguise between fatal errors and 'nothing there'.
1996-06-23 20:28:05 +00:00
thorpej 9b69016c08 Now that we have i/o port accounting, change the mainbus attach
order back to the (correct) pci -> eisa -> isa ordering.
1996-06-23 20:11:27 +00:00
thorpej 8c2f15c6fc New implementation of bus_io_{,un}map() for the i386. Details:
- A fixed extent map (statically allocated descriptor storage) is
	  created in init386(), just before the call to consinit().  The
	  fixed descriptor storage has enough room for 8 region entires,
	  which is plenty for early initialization, but doesn't chew up
	  that much memory.

	  This extent map (ioport_ex) manages the i386 i/o port
	  space (0x0 - 0xffff).

	- Just before the call to configure() in cpu_startup(), a
	  flag is set which notifies the bus_io functions that it is
	  safe to use malloc() to allocate descriptor storage, in the
	  event that more than 8 regions are needed.

	- bus_io_map() attempts to allocate the specified region from
	  ioport_ex.  If the allocation succeeds, the io handle is
	  filled in.  If the allocation fails, it is implied that
	  something else is already using that io space, and an
	  error condition is returned.

	- bus_io_unmap() frees a region previously allocated from
	  ioport_ex in bus_io_map().  If the free fails, a warning
	  is printed on the conole.

These changes implement "port accounting".  This is required for
proper autoconfiguration on the i386 port, and makes dealing with,
among other things, PCMCIA io mappings _much_ easier.
1996-06-23 19:59:06 +00:00
jonathan 38e30038fb Add pmax header files created since the 1.1 release.
Add all of /usr/include/mips header files.
1996-06-23 19:01:13 +00:00
briggs 4043c93c6f Format the NetBSD Id string like it is elsewhere 1996-06-23 15:30:51 +00:00
oki f606ce425b fixed typo 1996-06-23 15:24:08 +00:00
briggs 9f01fc6ee4 Add a comment about the last change. 1996-06-23 15:02:58 +00:00
leo d306a384e2 Add keyboardmap stuff. 1996-06-23 14:04:54 +00:00
pk 082fe57749 Add tsleep(9)/sleep(9)/wakeup(9) 1996-06-23 14:04:43 +00:00
leo 294d82f240 Add /usr/share/keymap/atari 1996-06-23 13:58:59 +00:00
leo cca068a144 Fix the mysterious empty error message when savecore is executed and no
dump is present. This was caused by the fact that kvm_dump_mkheader() was
called *before* savecore checks the dump magic and kvm_dump_mkheader() returned
-1 without setting an error message. The latter is fixed now.
1996-06-23 13:56:54 +00:00
mycroft 865bfae299 Return ENOPROTOOPT rather than picking pseudo-random error values.
Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.
Restructure rip_ctloutput() like ip_ctloutput(), and fix memory leaks.
1996-06-23 12:12:44 +00:00
mycroft 20ba5e02de Declare setre[ug]id() to take [ug]id_t args. No functional difference. 1996-06-23 11:56:25 +00:00
mycroft 601306abca Resurrect the setre[ug]id() stubs. 1996-06-23 11:52:49 +00:00
mycroft 23558a0acd Clean up removed files. 1996-06-23 11:50:33 +00:00
mycroft f699ec835f Remove the old (broken) setre[ug]id() emulation. 1996-06-23 11:27:59 +00:00
mrg 779746748d KNF. 1996-06-23 11:21:48 +00:00
mycroft 5262bdf053 Remove the old (broken) setre[ug]id() emulation. 1996-06-23 11:20:42 +00:00
mycroft fdc697b5e9 Catch up with setre[ug]id() changes. 1996-06-23 11:17:50 +00:00
mrg 00333c9e38 fix incorrect (dated?) comment. 1996-06-23 11:16:39 +00:00
mycroft 1328302bd9 Regen. 1996-06-23 11:16:12 +00:00
mycroft 365a977533 Catch up with setre[ug]id() changes. 1996-06-23 11:13:32 +00:00
mycroft f01b3b1837 Regen. 1996-06-23 11:12:22 +00:00
mycroft 3bbb29fe03 Catch up with setre[ug]id() changes. 1996-06-23 11:10:01 +00:00
mrg c7ac10f4db Deal with the case where `$TERM/<baudrate>' exceeds 1024 chars. 1996-06-23 11:09:32 +00:00
mycroft 8ea2fc5788 Regen. 1996-06-23 11:08:01 +00:00
mycroft 351bdbd445 Implement setre[ug]id() compatibly with 4.3BSD, SunOS, and Linux. 1996-06-23 11:04:11 +00:00
mrg c9e514192e look for USD.doc in the right place. 1996-06-23 05:59:51 +00:00
mrg adc186a9c0 delete this file ONCE MORE. SIGH! 1996-06-23 05:51:30 +00:00
mrg 922d5cf939 delete these files ONCE MORE. SIGH! 1996-06-23 05:48:55 +00:00
thorpej 5253727570 From Ignatios Souvatzis <is@NetBSD.ORG>:
- handle fpfault properly on the 68040
	- properly distinguish between a bus error and an MMU fault
	  on systems with 68030 or 68851 MMUs
1996-06-23 05:48:12 +00:00
thorpej 6041e29f1f My extent map manager. Sort of like resource maps, but more flexible.
Understands allocation aligment and boundary restrictions, "specific region"
allocations, and suballocations.  Capable of statically or dynamically
allocating map overhead.

Many thanks to Matthias Drochner for running the code for me, and sending
me bug fixes, optimizations, and suggestions.  Also, many thanks to
Chris Demetriou for his extremely helpful suggestions.

XXX No manual page yet.  One is forthcoming, as soon as I can scare up
the time to write one.  This has been sitting on my plate for quite a
while, and several projects are waiting for it.  Time to move on.
1996-06-23 00:10:08 +00:00
pk 232b002d95 Add psignal()/pgsignal()/gsignal() 1996-06-22 22:57:35 +00:00
mark adade817c8 arm32 dependent set lists. 1996-06-22 21:51:40 +00:00
pk 34b8432f40 Add fd, ms and kbd manual pages. 1996-06-22 21:35:14 +00:00
leo 1cf023be2b s/keymaps/keymap/ 1996-06-22 21:01:29 +00:00
leo 19bc17a97d Add a directory to store the atari keymaps 1996-06-22 20:31:24 +00:00
leo d7160491e3 Install loadkmap in the default distribution. The keymap files are moved
to ..../stand/keymaps and have their own Makefiles there.
1996-06-22 20:21:55 +00:00
leo 323c486e74 Add the subdirs: binpatch, keymaps and loadkmap. 1996-06-22 20:18:15 +00:00
leo 1a5ae2120a Atari keyboard maps 1996-06-22 20:14:09 +00:00
christos ebef85c991 Code cleanups.
- check malloc returns
- null terminate strncpy() strings
- use snprintf instead of sprintf
- pass the right arguments to the right functions
- check usage
- use err(3) and warn(3) instead of printfs.
1996-06-22 17:59:52 +00:00
chuck 7544016a9d sbus specific stuff for eni155s sbus atm card.
XXX: only works on sun4c, needs something better than vtophys() for
	machines with IOMMUs(?).
1996-06-22 02:02:48 +00:00
chuck 254ec3a7ef pci specific code for the eni155p card 1996-06-22 02:00:31 +00:00