Greg Lehey
ac4cd383ca
Correct #include in vinumioctl.c to compile correctly
...
without VINUMDEBUG
Submitted-by: peter
1999-01-24 05:14:39 +00:00
Matthew Dillon
257aefa704
Addendum: The original code that the last commit 'fixed' actually did
...
not have a bug in it, but the last commit did make it more readable so
we are keeping it.
1999-01-24 03:49:58 +00:00
Matthew Dillon
e4542174b0
vm_pager_put_pages() is passed an rcval array to hold per-page return
...
values. The 'int' return value for the procedure was never used and
not well defined in any case when there are mixed errors on pages, so
it has been removed. vm_pager_put_pages() and associated vm_pager
functions now return void.
1999-01-24 02:32:15 +00:00
Matthew Dillon
e1a4feafd0
Clear PG_MAPPED as well as PG_WRITEABLE when a page is moved to the
...
cache.
1999-01-24 02:29:26 +00:00
Matthew Dillon
d044d7bfb6
Added warning printf ( needs INVARIANTS ) when busy cache page is found
...
while trying to free memory.
1999-01-24 01:33:22 +00:00
Greg Lehey
be174c7efd
Add comment indicating that the vinum pseudo-device is experimental,
...
and that vinum should be started as a kld.
Tripped-over-by: many people
1999-01-24 01:22:37 +00:00
Matthew Dillon
89600e8663
There was a situation where sendfile() might attempt to initiate I/O
...
on a PG_BUSY page, due to a bug in its sequencing of a conditional.
1999-01-24 01:15:58 +00:00
Matthew Dillon
aaba53da90
It is possible for a page in the cache to be busy. vm_pageout.c was not
...
checking for this condition while it tried to free cache pages. Fixed.
1999-01-24 01:06:31 +00:00
Matthew Dillon
a7039a1d42
Add invariants to vm_page_busy() and vm_page_wakeup() to check for
...
PG_BUSY stupidity.
1999-01-24 01:05:15 +00:00
Matthew Dillon
c9fa34cf07
Clear PG_WRITEABLE in vm_page_cache(). This may or may not be a bug,
...
but the bit should definitely be cleared.
1999-01-24 01:04:04 +00:00
Matthew Dillon
8e3ad7c918
Depreciate vm_object_pmap_copy() - nobody uses it. Everyone uses
...
vm_object_pmap_copt_1() now, apparently.
1999-01-24 01:01:38 +00:00
Matthew Dillon
bc6d84a6a3
Get rid of unused old_m in vm_fault. Add INVARIANTS to test whether
...
page is still busy after all the hell vm_fault goes through.. it is
supposed to be, and printf() if it isn't. don't panic, though.
1999-01-24 00:55:04 +00:00
Matthew Dillon
377f9b28a6
Don't try to calculate B_CACHE for an NFS related bp that has a
...
> 0 b_validend. This will screw up small-writes, causing lots of
little writes out the network.
We will assume that NFS handles B_CACHE properly.
1999-01-24 00:51:11 +00:00
Mike Smith
1c2587457f
Document root_disk_unit
1999-01-24 00:12:17 +00:00
Mike Smith
c679ae39a8
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
Mike Smith
5d3d992565
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
Archie Cobbs
85abbaa800
Move kernel-only declarations to within #ifdef KERNEL
...
Prompted by: gcc warnings when compiling /sbin/ipfw
1999-01-23 23:59:50 +00:00
Mark Murray
e116238d83
Add the texinfo'ed docs to the build/install.
1999-01-23 21:24:49 +00:00
Nicolas Souchu
7b7bf77e65
Replace DEBUG by PLIP_DEBUG option
1999-01-23 17:07:49 +00:00
Nicolas Souchu
ef8f762601
Add various documented ppbus options
1999-01-23 17:06:01 +00:00
Robert Nordier
70fe3a9f9f
Fix wrong exit code.
...
PR: 9321
Submitted by: Bob Van Valzah <Bob@whitebarn.com>
1999-01-23 17:05:54 +00:00
Doug Rabson
f01de75c0f
Remove a workaround for the alpha port using an outdated version of syscons.
1999-01-23 17:04:13 +00:00
Doug Rabson
8a99777019
Update the alpha port to use the new syscons.
...
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
1999-01-23 16:53:30 +00:00
Eivind Eklund
458a924b1d
I may have forgotten to upgrade this value, but that will never happen
...
again. (Fully clone the value of __FreeBSD__ from the compiler.)
1999-01-23 15:07:10 +00:00
Robert Nordier
a29a298674
Fix a dot too many in path.
...
PR: 9445
Noticed by: Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
1999-01-23 14:50:28 +00:00
Nicolas Souchu
3b508abd51
Remove imm.4, merged with vpo.4
...
Fix vpo.4 manpage generation in Makefile
Fix bootflags bits description in ppc.4
1999-01-23 14:01:55 +00:00
Roger Hardiman
2c401a831e
Added detection of Hauppauge IR remote control.
...
and MSP34xx Audio chip. Fixed i2c read error.
Hauppauge supplied details of new Tuner Types.
Added tuner type 0x1a.
Danny Braniss <danny@cs.huji.ac.il> submitted Bt878
AverMedia detection with PCI subsystem vendor id.
1999-01-23 11:32:06 +00:00
Roger Hardiman
d3697a3ac3
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
...
Updated to support Hauppauge IR Remote Control
1999-01-23 11:28:16 +00:00
John Hay
9f12d84d0e
__FreeBSD__ is also used here.
...
Forgotten by: Lots of people.
Pointed out by: make world.
1999-01-23 10:59:29 +00:00
Kazutaka YOKOTA
fa18887740
Suppress warnings when compiling LINT. No functional change.
1999-01-23 10:55:16 +00:00
Kazutaka YOKOTA
c619f2ac1e
- Remove reference to obsolete options.
...
- Describe options for the vga driver.
Reviewed by: bde
1999-01-23 10:51:58 +00:00
Mark Murray
08275689bc
More broken crypt(3) backout.
1999-01-23 08:44:17 +00:00
Mark Murray
7deb53036d
Back out the new crypt(3) stuff untill we can go through an independant
...
"make world" to make sure everything works properly.
1999-01-23 08:36:38 +00:00
Mark Murray
4fdd3d5417
The new crypt code broke "make world". Back it out.
1999-01-23 08:27:46 +00:00
Mark Murray
945c0b6dde
The new crypt code breaks "make world". Back it out.
1999-01-23 08:26:11 +00:00
Bruce Evans
9bcaf304c6
Fixed missing cross reference to kvm_getfiles.
...
This man page may be overdoing the cross references by referencing
man pages that are just links to other pages that are referenced.
kvm_uread() is still completely undocumented in kvm*.3.
1999-01-23 08:12:12 +00:00
Bruce Evans
8bb84da720
Fixed unsorting of SRCS and MAN3 in previous commit.
...
Sorted MLINKS.
1999-01-23 07:55:15 +00:00
Bruce Evans
9457cf9c59
Fixed unsorting of cross references in previous commit.
1999-01-23 07:34:56 +00:00
Matthew Dillon
fae1f2e045
Fix an expression parenthesization typo in a conditional. It should not
...
have any operational effects other then to make the code in question
a little faster. Also added a more involved comment.
1999-01-23 06:36:15 +00:00
Matthew Dillon
7615edaa49
Reenable John Dyson's low-memory VM_WAIT code for page reactivations out
...
of PQ_CACHE. Add comments explaining what it accomplishes and its
limitations.
1999-01-23 06:00:27 +00:00
Matthew Dillon
b8808468dd
Oops, forgot this. Needed by libkvm.
1999-01-23 04:58:35 +00:00
Peter Wemm
461b36ab54
Update userref handling after discussion with submitter of previous
...
patch. lf can't be dereferenced after the unload attempt, in case it
was freed. Instead, decrement first and back it out if the unload failed.
This should be relatively immune to races caused by the user since the
userref count will be zero for the duration of the actual unloading and
will stop further kldunload attempts.
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
1999-01-23 03:45:22 +00:00
Peter Wemm
2c9b3ec2ff
Make the -I paths closer to what happens when compiling as part of the
...
kernel where #include "filename.h" has been disabled.
1999-01-23 01:32:44 +00:00
Peter Wemm
e5ca2df920
Minor tweak to fix 'pseudo-device vinum'. One of these got lost before,
...
the other is a new file.
1999-01-23 01:29:05 +00:00
Peter Wemm
8492b0d178
Add vinumdaemon.c; sort vinum entries.
1999-01-23 01:25:59 +00:00
Peter Wemm
d2b5b9779e
Oops, got my #ifdef's mixed up. Fix an unused variable warning.
1999-01-23 00:28:56 +00:00
Peter Wemm
013b59f2cb
Remove stray Makefile that Greg initially imported.
1999-01-23 00:09:07 +00:00
Mike Smith
6a80a16d7d
Add EXCEPTION word set.
...
Make TIB handling use buffer size to conform with ANS Forth.
Add ANS MEMORY-ALLOC word set.
See the PRs for extensive details.
PR: kern/9412 kern/9442 kern/9514
Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:52:59 +00:00
Mike Smith
b7fd9e91ed
bootstrap.h
...
help.common
interp.c
Rename the 'source' command to 'include' in order to avoid conflict
with the ANS Forth command of the same name. (kern/9473)
interp_forth.c:
Changes from kern/9412 (EXCEPTION word), kern/9442 (TIB buffer
sizing) and an improved version of kern/9460 (set
version numbers).
load_aout.c:
Trim some obsolete #if 0'ed cruft.
pnp.c:
Tidy the pnpscan output, turn off the module scanning until we
sort out how to do it right.
PR: kern/9412 kern/9442 kern/9460 kern/9473
Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:50:14 +00:00
Peter Wemm
b7b98418bd
Convert ccd to a proper module vs. something started by PSEUDO_SET().
1999-01-22 22:38:28 +00:00