Commit Graph

37677 Commits

Author SHA1 Message Date
cgd
b9eaff9db8 when considering attaching compatibility-mode channels, try a quick reset
and see if anything responds.  if nothing (that's attributable to the
PCI IDE controller) responds, then that channel either has no devices on
it or has been disabled (via a non-standard mechanism) by the BIOS.  If nothing
responds, don't map the compat.-mode interrupt or attach the wdc to that
channel, because the BIOS is likely to assign that IRQ to a different PCI
device.  If that happens, the kernel will panic because that device will
try to map the IRQ level-triggered, but the compat interrupt will have been
mapped edge-triggered.  (One possible way around this is to map the compat
interrupt edge-triggered, but it's not clear reading the spec that this
is correct or desirable.)
1998-03-12 23:34:29 +00:00
bouyer
44650d03a6 Better fix for PR 5113, per discussion with fvdl: now that the vnode locking
interface allow recusive locks, use it instead of the local hack to avoid
recursive locking.
1998-03-12 16:51:41 +00:00
augustss
09f43c63cf Update probing for GUS a little. From soren@t.dk,
closes PR kern/5148.
1998-03-12 12:28:50 +00:00
lukem
fe28db95aa install links for inet_ntop(3) and inet_pton(3) 1998-03-12 12:08:09 +00:00
thorpej
00452b441f Move PTE-related constants here, and make them not depend on a hard-coded
page size (i.e. use the one initialized from the HWRPB at boot time).

Do a bit of cleanup while here, rendering old inherited constants obsolete.
1998-03-12 07:29:21 +00:00
thorpej
4d8723232d Garbage-collect a bunch of constants that were inherited, but are no
longer necessary or make sense.
1998-03-12 07:28:07 +00:00
thorpej
bd3c0e36cf Garbage-collect this a bit. 1998-03-12 06:47:11 +00:00
thorpej
00a597fe92 Use vm_page_alloc1() and vm_page_free1() as appropriate. 1998-03-12 06:27:36 +00:00
thorpej
7bb58d92ce Garbage-collect; vm_page_alloc1() and vm_page_free1() are now in MI code. 1998-03-12 06:26:26 +00:00
thorpej
d214d5c30a Add vm_page_alloc1() and vm_page_free1(), which allocate/free single
VM pages, not associated with any object.
1998-03-12 06:25:52 +00:00
thorpej
1f8d640c4b Bump maxusers to 64. 1998-03-12 06:04:47 +00:00
thorpej
6e6e2d7ebf Dump maxusers to 32. 1998-03-12 06:04:31 +00:00
thorpej
d9a1f8ba36 Adjust the default and low-bound maxusers, now that the pmap can deal. 1998-03-12 06:04:14 +00:00
thorpej
e3bda606eb Add support for UVM. 1998-03-12 05:45:04 +00:00
thorpej
dfe0937a7e If not DEBUG, use the Virtual Page Table to get the PTE for kernel mappings
in pmap_enter() and pmap_emulate_reference().
1998-03-12 02:59:22 +00:00
thorpej
30766180a3 Nuke these; they are long-since obsolete. 1998-03-12 01:28:01 +00:00
thorpej
152a4bfa60 Increase the maximum userspace address to 4TB. Leave the stack at 8G
for now, but make a note that we might want to move it down to 4G later.
1998-03-12 01:25:52 +00:00
thorpej
e046925c3a Massive cleanup and partial rewrite of the NetBSD/alpha pmap module.
Major change is that page table page management has been completely
rewritten.  Page tables are now accessed via K0SEG (no more KVA space
wasted on user page tables), and a much larger user address space is
supported.

Many thanks to Chris Demetriou and Ross Harvey for helpful insight and
debugging assistance.
1998-03-12 01:24:52 +00:00
thorpej
900e1c90bd Nuke ALPHA_STSIZE and ALPHA_MAX_PTSIZE. Add macros to compute and operate
on segments mapped by L1 and L2 PTEs.
1998-03-12 01:21:21 +00:00
thorpej
ad87370347 Sync port-maintainers w/ www pages. 1998-03-11 23:39:39 +00:00
thorpej
e548c86044 Update for a slew of new developers. 1998-03-11 23:31:26 +00:00
ragge
51964fa1e8 Standalone routine for DEQNA, written by Roar Thronaes. 1998-03-11 22:13:55 +00:00
leo
dd709a7f89 Make it possible to interface to big-endian cpu's. 1998-03-11 20:57:03 +00:00
thorpej
294dcf56b9 Fix typos lossage on the Alpha. 1998-03-11 17:44:02 +00:00
thorpej
f96aa26b70 Fix types lossage on the Alpha. 1998-03-11 16:49:19 +00:00
fvdl
f75b1046d4 Fix flags mess-up in vget. LK_EXCLUSIVE -> 0 (even indicated in the
comment, d'oh!)
1998-03-11 15:52:02 +00:00
fair
5fd2bfcc12 added documentation of the various compile options for this driver from PR#4680 1998-03-11 09:55:19 +00:00
augustss
d644f9b973 Apply cs4236 fix from rh@vip.at. Closes PR 5143. 1998-03-11 09:26:05 +00:00
thorpej
a4bb51f3d2 Fix some type lossage on the Alpha. 1998-03-11 09:00:00 +00:00
fair
79091fd486 #include <string.h> now says #include <unistd.h> which matches the source code, per PR#4451. This should be checked for POSIX compliance, however. 1998-03-11 08:23:39 +00:00
fair
95f309a67f adjust documentation to reflect reality per PR#4859 1998-03-11 05:40:06 +00:00
chuck
927ec8b012 bug fix: when doing uvm_vnp_sync() actually skip over blocked uvn's so
that we don't try and sync them later.   should get rid of the
"uvm_vnp_sync: dying vnode on sync list" related warnings that were
occuring during a "make install."
1998-03-11 01:37:40 +00:00
mark
156a6a5c98 Replace missing ; when calculating the environment pointer. 1998-03-10 22:32:08 +00:00
christos
19e7771baa off by one error in ${%%} 1998-03-10 19:11:07 +00:00
chuck
b87759e7f2 bug fix: bring in-line with rest of uvm: use kernel_map for object offset
rather than kmem_map.   should fix PR#5129 reported by
	Lennart Augustsson.
1998-03-10 14:53:20 +00:00
chuck
21624aaf72 uvm_dump now dumps some important pointers for debugging 1998-03-10 14:36:55 +00:00
christos
64c0f1d1f2 Remove declaration of htons 1998-03-10 13:49:55 +00:00
kleink
00bacf2e91 Attempt to restore a file's flags using chflags() only if the original file
ad any flags set (that is, st_flags is non-zero); this avoids a warning when
(un-)compressing a file on a file-system that does not support flags.  Fixes
PR bin/4981.
1998-03-10 12:45:44 +00:00
kleink
5cf59ee9ad Move the permission check in vfs_syscalls.c::change_owner() back to
ufs_chown() again - the facility required in this context would be a
filesystem-specific super-user determination, which is not available yet.
1998-03-10 11:56:40 +00:00
kleink
071ab13ebb Move the permission check in change_owner() back to ufs_vnops::ufs_chown()
again - the facility required in this context would be a filesystem-specific
super-user determination, which is not available yet.  Also, add some
clarification to a comment.
1998-03-10 11:49:33 +00:00
leo
0dd40d6952 Bus-dma implementation for the atari. Heavily based on the i386
implementation.
1998-03-10 11:42:53 +00:00
enami
aaa7acea7c Fix typo; s/TMPFunc.out/TMPfunc.out/ 1998-03-10 09:52:41 +00:00
christos
e06bafa12e make mkhits before making depend. 1998-03-10 08:28:21 +00:00
mrg
d59aba65d9 build msdosfs LKM with UVM support. pr#5014 1998-03-10 06:53:36 +00:00
scottr
20a21d162e Sync mc_rint() prototype with if_mcvar.h. (How did this
one slip by?  Forty lashes for me...)
1998-03-09 23:05:28 +00:00
thorpej
7225aae835 Move check for user-pmap-still-using-Lev1map from pmap_enter_ptpage()
to pmap_enter().
1998-03-09 22:31:23 +00:00
christos
83449d8960 - fix pcmcia_scan_cis to return:
-1 error
	 0 desired tuple not found
	 1 desired tuple found
1998-03-09 21:54:13 +00:00
christos
441bea9142 - more 3c562 magic; document that the 0x88 tuple only works in 3c562a-c
and not in d where it goes back to use the eeprom method. So we detect
  when the tuple method fails and fall back to the original method.
- even more 3c562 magic; the updated linux driver mentions that addresses
  0x??00-0x??7f only work instead of the previous...
1998-03-09 21:52:31 +00:00
christos
861d065b3a Forgot to commit this one?!?! 1998-03-09 21:34:13 +00:00
thorpej
daa9cfae50 Don't do the Segtabzero-for-dev-zero hack. 1998-03-09 20:43:28 +00:00