summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Undo last commit - not a bug, just duplicate code. PG_MAPPED anddillon1999-01-241-2/+1
| | | | PG_WRITEABLE are already cleared by vm_page_protect().
* Go back to only supporting revoke() for bdevs and cdevs. It is verybde1999-01-242-2/+10
| | | | | | | | buggy for fifos, and no one seems to have investigated its behaviour on other types of files. It has been broken since the Lite2 merge in rev.1.54. Nagged about by: Brian Feldman (green@unixhelp.org)
* From the PR:msmith1999-01-243-6/+145
| | | | | | | | | | | | | | | | I added a FICL_TRACE-conditioned trace facility based on "see". It is ugly because words' functions are almost all static, and ficlExec, where the trace has to be located, can't get their pointers. So, #ifdef this staticization, and add most of see's body into ficlExec. Duplication of code, uglyness, etc. But it is cleanly #ifdef'ed, and works like a charm. It does not provide "step" facility, though, just trace. It is tunable at run-time through "trace!". If anyone (most likely me :) ever wants a step facility, I'll add it. Should be easy. PR: bin/9652 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* Change all manual settings of vm_page_t->dirty = VM_PAGE_BITS_ALLdillon1999-01-247-32/+30
| | | | | | to use the vm_page_dirty() inline. The inline can thus do sanity checks ( or not ) over all cases.
* Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.msmith1999-01-241-2/+2
| | | | | PR: bin/9651 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* vm_map_split() used to dirty the page manually after callingdillon1999-01-241-4/+13
| | | | | | | | | | vm_page_rename(), but never pulled the page off PQ_CACHE if it was on PQ_CACHE. Dirty pages in PQ_CACHE are not allowed and a KASSERT was added in -4.x to test for this... and got hit. In -4.x, vm_page_rename() automatically dirties the page. This commit also has it deal with the PQ_CACHE case, deactivating the page in that case.
* From the PR:msmith1999-01-241-11/+7
| | | | | | | | | | | | | FICL's TYPE copies the counted string to HERE, as abial has remarked. Answering to abial's question, this is NOT garanteed to have enough space. ... We have dynamic memory. Even before memory-alloc got in, we already had dynamic memory. Use it, then! (ficlMalloc is sysdep, so I suppose that's why it was not used for TYPE; ficl is probably designed to work without a working ficlFree). Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* Add vm_page_dirty() inline with PQ_CACHE sanity checkdillon1999-01-241-1/+20
|
* Correct #include in vinumioctl.c to compile correctlygrog1999-01-241-2/+2
| | | | | | without VINUMDEBUG Submitted-by: peter
* Addendum: The original code that the last commit 'fixed' actually diddillon1999-01-241-1/+1
| | | | | not have a bug in it, but the last commit did make it more readable so we are keeping it.
* vm_pager_put_pages() is passed an rcval array to hold per-page returndillon1999-01-247-33/+31
| | | | | | | 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.
* Clear PG_MAPPED as well as PG_WRITEABLE when a page is moved to thedillon1999-01-241-3/+3
| | | | cache.
* Added warning printf ( needs INVARIANTS ) when busy cache page is founddillon1999-01-241-1/+4
| | | | while trying to free memory.
* Add comment indicating that the vinum pseudo-device is experimental,grog1999-01-243-3/+15
| | | | | | and that vinum should be started as a kld. Tripped-over-by: many people
* There was a situation where sendfile() might attempt to initiate I/Odillon1999-01-241-32/+35
| | | | on a PG_BUSY page, due to a bug in its sequencing of a conditional.
* It is possible for a page in the cache to be busy. vm_pageout.c was notdillon1999-01-241-1/+5
| | | | checking for this condition while it tried to free cache pages. Fixed.
* Add invariants to vm_page_busy() and vm_page_wakeup() to check fordillon1999-01-241-1/+12
| | | | PG_BUSY stupidity.
* Clear PG_WRITEABLE in vm_page_cache(). This may or may not be a bug,dillon1999-01-241-2/+7
| | | | but the bit should definitely be cleared.
* Depreciate vm_object_pmap_copy() - nobody uses it. Everyone usesdillon1999-01-241-2/+14
| | | | vm_object_pmap_copt_1() now, apparently.
* Get rid of unused old_m in vm_fault. Add INVARIANTS to test whetherdillon1999-01-241-4/+13
| | | | | 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.
* Don't try to calculate B_CACHE for an NFS related bp that has adillon1999-01-241-2/+5
| | | | | | | > 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.
* Document root_disk_unitmsmith1999-01-241-0/+12
|
* biosdisk.cmsmith1999-01-244-13/+32
| | | | | | | | | | 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.
* Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn'tmsmith1999-01-242-2/+4
| | | | guess this value well in anything other than the simplest of situations.
* Move kernel-only declarations to within #ifdef KERNELarchie1999-01-231-4/+9
| | | | Prompted by: gcc warnings when compiling /sbin/ipfw
* Replace DEBUG by PLIP_DEBUG optionnsouch1999-01-232-7/+6
|
* Add various documented ppbus optionsnsouch1999-01-233-6/+33
|
* Update the alpha port to use the new syscons.dfr1999-01-2328-9906/+3632
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
* Fix a dot too many in path.rnordier1999-01-233-6/+6
| | | | | PR: 9445 Noticed by: Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
* Added detection of Hauppauge IR remote control.roger1999-01-232-104/+412
| | | | | | | | 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.
* Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>roger1999-01-232-4/+8
| | | | Updated to support Hauppauge IR Remote Control
* Suppress warnings when compiling LINT. No functional change.yokota1999-01-231-1/+7
|
* - Remove reference to obsolete options.yokota1999-01-235-30/+47
| | | | | - Describe options for the vga driver. Reviewed by: bde
* Fix an expression parenthesization typo in a conditional. It should notdillon1999-01-231-2/+10
| | | | | have any operational effects other then to make the code in question a little faster. Also added a more involved comment.
* Reenable John Dyson's low-memory VM_WAIT code for page reactivations outdillon1999-01-231-7/+13
| | | | | of PQ_CACHE. Add comments explaining what it accomplishes and its limitations.
* Update userref handling after discussion with submitter of previouspeter1999-01-231-4/+4
| | | | | | | | | | 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>
* Make the -I paths closer to what happens when compiling as part of thepeter1999-01-231-2/+2
| | | | kernel where #include "filename.h" has been disabled.
* Minor tweak to fix 'pseudo-device vinum'. One of these got lost before,peter1999-01-232-6/+6
| | | | the other is a new file.
* Add vinumdaemon.c; sort vinum entries.peter1999-01-231-6/+7
|
* Oops, got my #ifdef's mixed up. Fix an unused variable warning.peter1999-01-231-1/+3
|
* Remove stray Makefile that Greg initially imported.peter1999-01-231-26/+0
|
* Add EXCEPTION word set.msmith1999-01-2213-58/+339
| | | | | | | | | | | 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>
* bootstrap.hmsmith1999-01-226-141/+87
| | | | | | | | | | | | | | | | | | | | | | 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>
* Convert ccd to a proper module vs. something started by PSEUDO_SET().peter1999-01-222-28/+60
|
* add LEGSUP to uhci_dumpregsn_hibma1999-01-221-4/+7
|
* Fix extraneous free() on error.rnordier1999-01-221-2/+1
|
* Fix read error not being detected.rnordier1999-01-221-1/+2
|
* Don't forward unicast packets received via link-layer multicast.wollman1999-01-221-2/+2
| | | | | Suggested by: fenner Original complaint: Shiva Shenoy <Shiva.Shenoy@yagosys.com>
* Multicast code isn't quite correct. The RealTek wants the upper six bitswpaul1999-01-221-5/+5
| | | | | | | of the CRC as the multicast hash table bit, not the lower six bits. Plus we have to flip on all bits in the table for multicast mode. Pointed out by: Kazushi SUGYO <k-sugyou@nwsl.mesh.ad.jp>
* Push version numbers up to 1.00. This is just intended to reflectrnordier1999-01-224-10/+10
| | | | | | | that the BTX code can be regarded as stable: there are no associated code changes. Suggested by: obrien
OpenPOWER on IntegriCloud