summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Grab Giant around fault handling at the top level for now.jhb2001-06-291-0/+3
|
* Grab Giant around trap_pfault() for now.jhb2001-06-293-0/+12
|
* Fix up indentation.jlemon2001-06-292-4/+4
|
* Remove a fascinating but confusing construct involving chainingrwatson2001-06-282-66/+62
| | | | | | | | conditional clauses in the following way: (0 || a || b); No functional change.
* Add error checking for copyin() operations in posix4 scheduling code.rwatson2001-06-282-4/+12
|
* Don't check witness assertions if the lock doesn't use witness or witnessjhb2001-06-281-0/+3
| | | | is dead.
* Fix more mntvnode and vnode interlock order reversals.jhb2001-06-283-6/+6
|
* - create an entry of IPV6CTL_STATS sysctl.ume2001-06-281-0/+2
| | | | | | | | | - fix the problem that netstat doesn't show raw6 and icmp6 pcblist. - make netstat use sysctl to retreive stats of ipv6 and icmpv6 instead of kread. Obtained from: KAME MFC after: 1 week
* Follow Mike's commit by adding acpi_powerres.c.takawata2001-06-282-2/+2
|
* Add acpi_powerres.c to fix the acpi build.jhb2001-06-281-0/+1
| | | | Pointy-hat to: msmith
* Merge in parts of a larger patchset i received from Bruce. Untestedjoerg2001-06-282-82/+76
| | | | | | | | | | | | | | | | | | | by now (except of a compile test), but i believe this to contain no actual functional changes. . Fix the copyright of the Regents i accidentally broke in rev 1.197 (although only a very small part of the original driver survived at all...). . Bump MAX_CYLINDER since some obscure formats really use more than 80 cylinders. . Correctly handle BIO_FORMAT which used to be a bitmask but is now a BIO command of its own. . Numerous stylistic fixes. Submitted by: bde
* Put back the two semicolons I accidentally lost while reformatting this tobenno2001-06-281-2/+2
| | | | | | bring it closer to style(9). Spotted by: Mark Peek <mark@whistle.com>
* Remove dgm module.dd2001-06-282-9/+1
| | | | Forgotten by: brian
* Sync to my work in progress:msmith2001-06-284-146/+1092
| | | | | | | | | | | | - Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement most of the guts of the acpi_thermal module; passive cooling isn't there yet, but active cooling should work. - Implement power resource handling (acpi_powerres.c) This compiles and mostly works, but my test coverage is small, so feedback is welcome.
* Fix typo (s/=/+=/) in previous commit.kuriyama2001-06-281-1/+1
|
* Correct comment: so_q -> so_comp, so_q0 -> so_incomp.jlemon2001-06-281-3/+3
| | | | Submitted by: Adagio Vangogh <adagio_v@pacbell.net>
* - Fix a mntvnode and vnode interlock reversal.jhb2001-06-282-19/+46
| | | | | - Protect the mnt_vnode list with the mntvnode lock. - Use queue(9) macros.
* - Protect the mnt_vnode list with the mntvnode lock.jhb2001-06-286-18/+48
| | | | - Use queue(9) macros.
* - Fix a mntvnode and vnode interlock reversal.jhb2001-06-281-6/+13
| | | | - Protect the mnt_vnode list with the mntvnode lock.
* Get kernel profiling on SMP systems closer to working by replacing thejhb2001-06-288-50/+16
| | | | | mcount spin mutex with a very simple non-recursive spinlock implemented using atomic operations.
* Fix a mntvnode and vnode interlock reversal.jhb2001-06-283-8/+11
|
* Protect the mnt_vnode list with the mntvnode lock.jhb2001-06-282-4/+19
|
* Provide access to the IA32 hardware debug registers from the ddbbsd2001-06-287-50/+240
| | | | | | | kernel debugger. Proper use of these registers allows setting hardware watchpoints for use in kernel debugging. MFC after: 2 weeks
* Fairwell dgmbrian2001-06-274-7110/+0
|
* Remove dgmbrian2001-06-274-19/+6
|
* Spell digi rightbrian2001-06-272-6/+6
|
* don't flag the playback hardchan as busy on devices with only one of them.cg2001-06-273-19/+68
| | | | | | | | if a device has vchans already but they are all busy, allocate another one at open() time, up to a maximum of hw.snd.maxvchans. when creating/destroying vchans, don't make/remove a devnode for the first/last one as it replaces a hardchan.
* tidy up/simplify dsp_clone()cg2001-06-271-24/+13
|
* refresh default router list on nd6_purge(), only if we are anume2001-06-271-4/+6
| | | | | | autoconfigured host. Obtained from: KAME
* Catch up to mbuf allocator changes from last September so this compilesjhb2001-06-271-15/+4
| | | | again.
* Make this compile again. Broken since June 1.jhb2001-06-271-0/+1
|
* Fixed the brain-o in rev. 1.10: the logic check was reversed.ru2001-06-271-1/+1
| | | | Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
* Code for dealing with external interrupts.benno2001-06-271-0/+832
| | | | Obtained from: NetBSD
* Fix comment breakage.benno2001-06-2712-139/+498
|
* Fix the atomic_*_32 operations. These were written before I had the abilitybenno2001-06-273-55/+78
| | | | | to test them properly and before I had a working knowledge of GCC asm constraints.
* Bracket this file in the usual #ifndef/#define/#endif stuff to preventbenno2001-06-271-0/+5
| | | | multiple inclusion.
* Garbage collect some debug code.benno2001-06-271-11/+0
|
* Add -msoft-float to COPTS to stop GCC attempting to be "smart" and usingbenno2001-06-272-1/+7
| | | | floating point registers for various optimisation tweaks.
* - Add trylock variants of shared and exclusive locks.jhb2001-06-272-27/+75
| | | | | | | | | | | - The sx assertions don't actually need the internal sx mutex lock, so don't bother doing so. - Add a new assertion SX_ASSERT_LOCKED() that asserts that either a shared or exclusive lock should be held. This assertion should be used instead of SX_ASSERT_SLOCKED() in almost all cases. - Adjust some KASSERT()'s to include file and line information. - Use the new witness_assert() function in the WITNESS case for sx slock asserts to verify that the current thread actually owns a slock.
* - Add a new witness_assert() to perform arbitrary locking assertions.jhb2001-06-272-13/+86
| | | | | | | | - Clean up the KTR tracepoints to be slighlty more consistent and useful - Fix a bug in WITNESS where we would recurse indefinitely and blow the stack when acquiring Giant after sleeping with a sleepable lock held. Reported by: tanimura (3)
* - Always use the proc lock of the task leader to protect the peers list ofjhb2001-06-271-15/+12
| | | | | | | | | | | | | | processes. - Don't construct fake call args and then call kill(). psignal is not anymore complicated and is quicker and not prone to locking problems. Calling psignal() avoids having to do a pfind() since we already have a proc pointer and also allows us to keep the task leader locked while we kill all the peer processes so the list is kept coherent. - When a kthread exits, do a wakeup() on its proc pointers. This can be used by kernel modules that have kthreads and want to ensure they have safely exited before completely the MOD_UNLOAD event. Connectivity provided by: Usenix wireless
* Implement a new ioctl command for floppies: FD_READIDjoerg2001-06-263-16/+197
| | | | | Reads one sector ID field from a given track. Useful for analyzing floppies.
* Some more cosmetics: kill another couple of K&R function definitionsjoerg2001-06-262-56/+8
| | | | | that survived from old days, fix style of return type in fdcpio(), kill old Emacs hints that are no longer working that way anyway.
* add a tunable/sysctl, hw.snd.autovchans. if this is set to a value n wherecg2001-06-263-4/+53
| | | | | n > 0, n vchans will be assigned to any devices that subsequently register with a single playback channel.
* Don't initialise ret in atomic_cmpset_32.benno2001-06-261-2/+1
| | | | Add more synchronisation.
* The information about how to integrate this driver into BSDs is obsoleted,onoe2001-06-261-60/+0
| | | | and no longer needed.
* Fix capability information in association request to reflect ESS/IBSS mode.onoe2001-06-261-5/+9
| | | | | This fix is required to interoperate with Cisco's access point. Obtained from: NetBSD current
* Fix keyid bit position of encrypted packet to make non-first key usable.onoe2001-06-261-2/+2
| | | | Obtained from: NetBSD current
* Fix previous enhancement to add support for new ifconfig interface.onoe2001-06-261-53/+35
|
* Merged from the following changes.nyan2001-06-266-154/+528
| | | | | | sys/isa/ppc.c revisions from 1.27 to 1.34 sys/isa/ppcreg.h revisions from 1.10 to 1.15 sys/isa/isareg.h revision 1.6
OpenPOWER on IntegriCloud