summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),alc2002-06-012-25/+15
| | | | | | | | | vm_map_create(), and vm_map_submap(). o Make further use of a local variable in vm_map_entry_splay() that caches a reference to one of a vm_map_entry's children. (This reduces code size somewhat.) o Revert a part of revision 1.66, deinlining vmspace_pmap(). (This function is MPSAFE.)
* Be more strict about namespaces.mike2002-06-011-8/+11
| | | | Submitted by: wollman (mostly)
* Backout/modify previous revision:alfred2002-06-011-0/+4
| | | | | | | "empty default cases shouldn't be removed, they should have a break; statement added to them." Requested by: billf
* Silence warnings, remove some empty 'default' switch cases.alfred2002-06-011-2/+0
|
* Declare a variable sized array within a structure using [] rather than [0]alfred2002-06-011-1/+1
| | | | to silence warnings.
* Silence preprocessor warning, No need to use CONCAT with "," and "word".alfred2002-06-012-2/+2
|
* Unbreak LINT by compensating for thealfred2002-06-011-4/+3
| | | | ng_parse_struct_info -> ng_parse_struct_field change.
* Fix some, but not all style bugs.mike2002-06-011-23/+22
|
* Fix warnings.alfred2002-06-011-3/+3
| | | | | There's no need to use concatination when you have 'something.macro_arg'. Comment out comment following #endif.
* Get rid of warnings, there's no need to do preprocessor concatination ofalfred2002-06-011-2/+2
| | | | things with commas and equal signs.
* Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flagmike2002-06-014-1/+22
| | | | | | | | | | (P_CONTINUED) is set when a stopped process receives a SIGCONT and cleared after it has notified a parent process that has requested notification via waitpid(2) with WCONTINUED specified in its options operand. The status value can be checked with the new WIFCONTINUED() macro. Reviewed by: jake
* Fixed the return value of fpsetmask(). The API requires inversion of thebde2002-06-012-2/+4
| | | | | | | | | mask on both input and output to fpsetmask(), but this was only done for input, so fpsetmask() returned the complement of the old mask (ANDed with the mask bitfield). PR: 38170 MFC after: 4 weeks
* Fixed style bugs in rev.1.9.bde2002-06-012-18/+34
|
* o Revert a part of revision 1.66, contrary to what that commit message says,alc2002-06-012-17/+21
| | | | | | | | deinlining vm_map_entry_behavior() and vm_map_entry_set_behavior() actually increases the kernel's size. o Make vm_map_entry_set_behavior() static and add a comment describing its purpose. o Remove an unnecessary initialization statement from vm_map_entry_splay().
* Fix a couple of places where preprocessor concatination was misused andalfred2002-06-011-2/+2
| | | | something wound up grafted to a comma.
* Silence warning.alfred2002-06-011-2/+2
| | | | | When casting a "const void *" to a "struct foo **" you want to actually cast it to "struct foo * const *" not simply "const struct foo **".
* Make devfs to give honour to PDIRUNLOCK flag.semenu2002-06-011-9/+13
| | | | | Reviewed by: jeff MFC after: 1 week
* Quick, low impact band-aide to unbreak the build. Added && 0 so weru2002-06-011-1/+1
| | | | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc. Forgotten by: imp
* Should have been part of recent commit:alfred2002-06-012-5/+3
| | | | | | | | Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. But now I'm unbreaking compilation by adjusting these files to the recent netgraph change.
* Call destroy_dev in detach routine to cleanup properly otherwise wealfred2002-06-011-3/+8
| | | | | | | | | | | panic because of a repeat make_dev if/when the device is reattached to the system. Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__" (*sigh*) Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu> Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
* Use PCI_INTERRUPT_VALI in stead of hard coded 255imp2002-06-011-5/+5
|
* More style(9) nitsimp2002-06-011-20/+23
|
* Define a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALIDimp2002-06-011-1/+2
|
* Use a common function to map the bogus intlines.imp2002-06-013-33/+51
| | | | | | | Don't require pin be non-zero before we map bogus intlines, always do it. This fixes a number of problems on HP Omnibook computers. Tested/Reviewed by: Brooks Davis
* Make a structure definition slightly more style(9) compliant (makesbsd2002-06-011-2/+1
| | | | the structure definition easier to find using grep).
* Make this file mostly conform to style(9).imp2002-06-011-87/+86
| | | | Approved by: msmith in principle before walkabout
* Fix GCC warnings caused by initializing a zero length array. In the process,archie2002-05-3133-257/+159
| | | | | | | simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks
* Quick, low impact band-aide to unbreak the build. Added && 0 so weimp2002-05-313-3/+3
| | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc.
* Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__anholt2002-05-3113-148/+148
| | | | Approved by: des
* Fix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was beingarchie2002-05-312-3/+14
| | | | | | | | | | | | | set to zero. This field indicates the total space in the external buffer and therefore should not be modified after the external buffer is added. Add a comment warning that the mbufs returned by m_split() might be read-only. Fix M_TRAILINGSPACE() to return zero if !M_WRITABLE(m). Reviewed by: freebsd-net Obtained from: Vernier Networks, Inc. MFC after: 1 week
* __FreeBSD__ is not a compiler constant. We must useume2002-05-311-1/+1
| | | | | | __FreeBSD_version here. Submitted by: rwatson
* Nit: kern.ttys is of type S,xtty, not S,tty.des2002-05-311-1/+1
|
* Back out my lats commit of locking down a socket, it conflicts with hsu's work.tanimura2002-05-3162-1713/+502
| | | | Requested by: hsu
* - Replace the bandaid introduced in revision 1.110 withrobert2002-05-311-1/+3
| | | | | | a better solution. - Add braces for a ``for'' statement containing a single multi-line statement.
* Export nswapdev through sysctl(8).des2002-05-311-0/+2
| | | | Sponsored by: DARPA, NAI Labs
* The loop back device hasn't been a count device for a while so removebrooks2002-05-311-1/+1
| | | | the number of interfaces.
* Ensure that packet counts are always reset to 0 whensilby2002-05-311-0/+1
| | | | | | | | a route is cloned. Previously, they took on the count of their parent route (which was sometimes nonzero.) Submitted by: Andre Oppermann <oppermann@pipeline.ch> MFC after: 5 days
* Further work on pushing Giant out of the vm_map layer and downalc2002-05-312-9/+15
| | | | | | | | | | into the vm_object layer: o Acquire and release Giant in vm_object_shadow() and vm_object_page_remove(). o Remove the GIANT_REQUIRED assertion preceding vm_map_delete()'s call to vm_object_page_remove(). o Remove the acquisition and release of Giant around vm_map_lookup()'s call to vm_object_shadow().
* Use __FreeBSD_version to test what things to useimp2002-05-312-10/+11
|
* Fix build breakage on my pccard related commit.takawata2002-05-312-2/+2
|
* Don't use an incomplete array type to mark the start of the paddingmarcel2002-05-311-1/+8
| | | | | | | | | | because the padding should be inserted before the array and not after it, as is done by GCC 3.1. Instead use an explicit uint32_t field to get what was intended and on top of that make the size of the padding explicit. This also doesn't depend on a C99 feature. While here, expand the comment. Just to make a point. Pointed out by: fanf
* Add missing unlockjulian2002-05-301-1/+3
| | | | Submitted by: dirkx@covalent.net
* Remove lock from ffs_vget introduced by v1.24. Instead of locking thesemenu2002-05-303-76/+54
| | | | | | | | | | | | | | vnode creation globaly, we allow processes to create vnodes concurently. In case of concurent creation of vnode for the one ino, we allow processes to race and then check who wins. Assuming that concurent creation of vnode for same ino is really rare case, this is belived to be an improvement, as it just allows concurent creation of vnodes. Idea by: bp Reviewed by: dillon MFC after: 1 month
* Avoid unintentional trigraph.wollman2002-05-301-1/+1
|
* Forget to change lookup function for oldcard side.takawata2002-05-301-3/+5
|
* Make oldcard and newcard kernel module work.takawata2002-05-3011-12/+103
|
* Mistyped and lost a '&' in previous commit.phk2002-05-301-1/+1
|
* Don't forget to factor in the boottime when we calculate PPS timestamps.phk2002-05-301-0/+1
| | | | Submitted by: Akira Watanabe <akira@myaw.ei.meisei-u.ac.jp>
* Fix a handful of typos and grammar bogons. No content changes.schweikh2002-05-301-9/+9
| | | | | | Translators can ignore this commit. MFC after: 2 weeks
* Move the definition of ElfN_Hashelt to common headers. The only platformdfr2002-05-309-66/+15
| | | | which has a different definition for this is alpha.
OpenPOWER on IntegriCloud