Commit Graph

29364 Commits

Author SHA1 Message Date
wrstuden
2e1fa90ecb Fix obscure bug in namei(), which was the cause of PR 7306.
The problem is that if "sl" is a symbolic link, a lookup on "sl/"
will be flagged as the last component. Thus VOP_LOOKUP will lock
the parent directory if LOCKPARENT is set. In order for the symbolic
link to be resolved, this lock needs to be released. namei() would
test for this by checking if ni_pathlen == 1, which it wouldn't as
"/" is left in the name, and namei() would not unlock the parent.
The next call to lookup() to resolve the symbolic link would fail
as the parent was still locked.
1999-04-07 05:47:37 +00:00
proff
8775e52947 tiny KNF change 1999-04-07 05:34:32 +00:00
proff
ae938abb49 Prevent reception of packets on downed interfaces (via an up interface).
fixes kern/7327
1999-04-07 02:31:05 +00:00
thorpej
5f38a5a010 Garbage-collect B_PAGET, B_PGIN, and B_UAREA. Nothing refers to them
anymore, and they don't make any sense in NetBSD's VM system.
1999-04-07 00:18:29 +00:00
thorpej
b2741be06e More locking protocol fixes. Protect pool_head with a spin lock (statically
initialized).  This lock also protects the "next drain candidate" pointer.

XXX There is still one locking protocol problem, which should not be
a problem in practice, but is still marked as an issue in the code anyhow.
1999-04-06 23:32:44 +00:00
thorpej
de38b189e4 Add a SIMPLELOCK_INITIALIZER macro, to statically initialize a simplelock,
so that simple_lock_init() is not necessary.
1999-04-06 23:08:48 +00:00
augustss
cadb84965d Use complete sentences in the generated comments. 1999-04-06 23:03:44 +00:00
augustss
17c3351354 Regen. 1999-04-06 23:02:31 +00:00
augustss
31f94ae97e Add Leopard 56k PnP, from PR 7330. 1999-04-06 23:02:09 +00:00
pk
c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
pk
016934b1fe Move advertisement into a comment of its own. 1999-04-06 19:43:04 +00:00
pk
70f2ec45be Duplicate clause number in copyright text. 1999-04-06 19:34:31 +00:00
pk
8d2456a432 Move advertisement text into a comment of its own. 1999-04-06 19:31:37 +00:00
pk
0e39bfc32c remove duplicate line in copyright. 1999-04-06 19:28:41 +00:00
pk
5a47d424ae Fix garbled word in copyright statement. 1999-04-06 19:27:48 +00:00
pk
23c3e1a4a1 Fix garbled words in copyright statement. 1999-04-06 19:26:32 +00:00
cgd
ff54a19cef build/install this binary as bootxx.old, so that users won't get the
idea that they should be using it.  (no point in renaming the whole
directory since it should be dead soon enough.)
1999-04-06 18:43:18 +00:00
bouyer
2198b984e8 Kill an extra 'pciide0: ' in a printf 1999-04-06 17:49:14 +00:00
mark
46b87f5da5 Changed the way in which virtual address space is reserved for the SA110
fast cache clean area as the recent pmap changes mean that the existing
approach no longer works. Fixes PR7272.
1999-04-06 06:57:00 +00:00
mark
c05b9ed27a When handling a page fault, panic if the map is NULL so that we don't
dereference it when doing handled or modified emulation. This can happen
if fault are taken during early parts of the bootstrap, resulting in
recursive faulting.
1999-04-06 06:35:03 +00:00
simonb
b1ec416993 Don't build a.out kernels anymore. 1999-04-06 06:16:07 +00:00
scottr
e169535fc2 Include zsc.h so that SCC soft interrupts have a chance. Fixes PR 7313. 1999-04-06 05:55:06 +00:00
scottr
dc9ec7ace3 Sync with hp300. 1999-04-06 04:04:45 +00:00
scottr
fdd8445219 Prototype kvtop() here. 1999-04-06 03:40:23 +00:00
tv
724f072dde Nuke my copyrights and/or assign them to TNF where appropriate. 1999-04-06 02:55:24 +00:00
gwr
bcd555184b Add the address of the DMA gate array (used by the esp driver). 1999-04-06 02:07:51 +00:00
cgd
1fddfb80a5 consistency in boot message printouts 1999-04-05 22:03:56 +00:00
cgd
54b5d8e275 always -D NETBSD_VERS 1999-04-05 22:03:48 +00:00
mycroft
7a304dfe1b If scsipi_command() fails, always print out the error code. 1999-04-05 19:19:34 +00:00
scw
e20f288fe5 Add a check to my last 'fix' which ensures the fault really
did happen in kernel mode.
1999-04-05 17:17:04 +00:00
gwr
95e8060c58 Move VM_PHYSSEG_MAX to the common vmparam.h (needed by LKMs). 1999-04-05 14:35:13 +00:00
gwr
2cc28dc7b6 Make it clear that MSGBUFSIZE is not user-adjustable. 1999-04-05 14:34:18 +00:00
mark
9ea7a42377 Added installation configuration for CATS kernels. 1999-04-05 07:30:43 +00:00
mark
e9dc39c682 Fix this so that it compiles when IRQSTATS is not defined. 1999-04-05 07:04:17 +00:00
cgd
ba10f0ca12 now that boot.c does the bootstrap name with a -D, the newvers scripts
are all the same, so eliminate the redundancy.  also, use mrg's
"Version:" trick to find the version rather than using the RCS ID.
(I must have been having a ... bad day.)  Also, bump boot and netboot
versions for all the changes that have been happening lately.
1999-04-05 06:56:23 +00:00
cgd
d4e15df542 don't get the name from newvers, get it from a bootstrap-specific -D
in the Makefile.  also, print the banner before we do things that
might cause us to print error messages.
1999-04-05 06:42:14 +00:00
scottr
bc071709f2 Pull in the many and various hp300 pmap changes that Jason's done
so far this year.  There are very few appreciable differences left
between this code and the hp300 version.
1999-04-05 06:34:01 +00:00
cgd
d430800515 GC all support except contiguous block mode. the new installboot
takes care of it all better.
1999-04-05 05:48:12 +00:00
cgd
f8eb5f4b98 trim off unnecessary bits 1999-04-05 05:07:04 +00:00
cgd
b774b1837d fix disk write size check 1999-04-05 05:01:44 +00:00
cgd
ebca60d395 come a little closer to compiling with warnings turned on 1999-04-05 04:39:42 +00:00
cgd
ae79d52642 i was fooling myself to believe that these would build with all warnings 1999-04-05 04:38:27 +00:00
cgd
f8fcd4d2be -I goes in CPPFLAGS, not CFLAGS 1999-04-05 03:42:50 +00:00
cgd
bf165cb8fc install bootxx_cd9660 and bootxx_ffs 1999-04-05 03:37:28 +00:00
cgd
6603c44a84 reorganize Makefiles so that warning flags aren't accidentally omitted,
and so that all programs and boot blocks are built.
1999-04-05 03:35:24 +00:00
sommerfe
c97bb0650d Fix compile warning (not seen with egcs, but...) 1999-04-05 03:33:31 +00:00
cgd
a50cfa8576 add a new from-scratch (actually, from mkbootimage, but that's close
enough) implementation of installboot(8) which installs the new file
system specific boot blocks.
1999-04-05 03:07:37 +00:00
cgd
180d6f8b19 Moved to sys/arch/alpha/stand/installboot.old/installboot.c,v 1999-04-05 03:02:07 +00:00
cgd
b76e58f09c Moved from sys/arch/alpha/stand/installboot/installboot.c,v 1999-04-05 03:02:06 +00:00
cgd
80eba52649 Moved to sys/arch/alpha/stand/installboot.old/extern.h,v 1999-04-05 03:02:05 +00:00