Commit Graph

166685 Commits

Author SHA1 Message Date
matt 14d4b29491 Add register{32,64}_t 2008-01-31 05:30:00 +00:00
dholland b67b08da79 Pedanticism about time_t (not really a bug, but now it won't show up when
audited.)
2008-01-31 05:22:45 +00:00
dholland d64494c758 Fix y2038 bug: time_t != int. 2008-01-31 05:19:44 +00:00
erh 570958013a Clarify what the format section of the cap_mkdb man page is talking about. 2008-01-31 04:00:54 +00:00
simonb 4cbecce6c5 Have mtprng_random() call mtprng_rawrandom() to get more
random data instead of calling itself.  Much nicer to the
stack...
2008-01-31 03:37:13 +00:00
simonb ba30aadce1 Check against correct constant in a KASSERT(). 2008-01-31 03:34:04 +00:00
christos d180539684 make the kernel link again from Henry Bent 2008-01-31 03:31:31 +00:00
christos bfd5f301c3 complete removal of soft interrupts from Henry Bent 2008-01-31 03:30:36 +00:00
matt 3056c4f69a Add Mersenne Twister prototypes and state struct to libkern.h
Cleanup a comment.  s/RLEN/MTPRNG_RLEN/g    s/POS1/MTPRNG_POS1/g
Remove unneeded test code.
2008-01-31 02:36:09 +00:00
matt cd27642585 Add Mersenne Twister PRNG implementation. This is a new implementation. 2008-01-31 02:09:54 +00:00
elad 17bc624c06 EACCES -> EPERM. 2008-01-31 01:21:17 +00:00
rmind 116ffc8d57 sigpost: convert to the new, inverted priorities.
From <drochner>.
2008-01-31 00:50:32 +00:00
rmind fb513e5cf5 - sched_cpuattach: fix address calculation, use roundup2();
Fixes the problems with systems having > 2GB of memory;
  From <drochner>, thanks for catching this!
- Convert pool to pool-cache;
- Adjust copyright while here;
2008-01-31 00:46:55 +00:00
jmcneill 5bc4e8c9fc Document improvements to azalia's Analog Devices AD1984 support. 2008-01-31 00:37:02 +00:00
jmcneill 89cbafc849 AD1984: Create a dummy outputs.master mixer knob that mirrors inputs.dac,
since AD1984 doesn't have a traditional master volume control.
2008-01-30 23:03:09 +00:00
jmcneill 77c34d4c1c AD1984: Use the same DAC for speaker and headphones, so the headphone jack
works as expected on Thinkpad T61 (and probably others).
2008-01-30 22:09:00 +00:00
njoly 1a6eaef2f2 Fix shm_cv/newshm_cv offset value by using the correct sizeof argument
(kcondvar_t -> struct shmid_ds).

ok by rmind@
2008-01-30 21:09:41 +00:00
ad 9cd350f0fb Crank maxusers to 64. 2008-01-30 19:58:19 +00:00
apb 9eaab5ee00 Mention use of /var/run/dev.db, and add .Xr dev_mkdb 8 .
Could somebody update the HISTORY?
2008-01-30 19:24:59 +00:00
elad fb37bad459 Use proper kauth(9) actions/requests for native scheduler stuff and the
recently introduced processor-sets.

Discussed with and okay rmind@, yamt@, and christos@.
2008-01-30 17:54:55 +00:00
hannken a524d758da Make it work after lockmgr -> vlockmgr conversion:
- Initialize si_vnlock in si_mount_init().
  - Also initialize vl_recursecnt to zero.
- Destroy it only in si_mount_dtor().
- Simplify the v_lock <-> si_vnlock exchange.
- Don't abuse the overall error variable for LK_NOWAIT errors.
- ffs_snapremove: release the vnode one instead of three times.
2008-01-30 17:20:04 +00:00
tsutsui d738ece669 Disable more options and file-systems to shrink install kernel. 2008-01-30 16:27:43 +00:00
tsutsui 0a692f373a Optimize for R4400 with CPUFLAGS since we don't support MIPS1 based EWS4800. 2008-01-30 16:27:10 +00:00
ad df774def20 Hold v_interlock when adjust v_writecount. 2008-01-30 15:42:52 +00:00
ad ab27a4b1d4 Remove code to prevent multiple open of block devices; it's no longer
needed.
2008-01-30 15:30:12 +00:00
ad a3f53add72 Back out previous to let rump compile. Needs to be handled differently. 2008-01-30 15:00:52 +00:00
ad aeeed1e5b6 Make it compile. 2008-01-30 14:57:24 +00:00
ad e872dcb05d +#include <sys/atomic.h> 2008-01-30 14:56:44 +00:00
ad 0430885280 Goodbye lockmgr(). 2008-01-30 14:54:25 +00:00
ad 08da6a8594 Replace use of lockmgr. 2008-01-30 14:54:01 +00:00
ad 4df5af489b vlockstatus: return LK_EXCLOTHER as appropriate, for LFS. XXX 2008-01-30 14:53:41 +00:00
ad 7356aff6af Replace use of LK_SLEEPFAIL. 2008-01-30 14:50:28 +00:00
hannken ee150e014e Lock swapdev_vp for VOP_OPEN.
From: YAMAMOTO Takashi <yamt@netbsd.org>
2008-01-30 14:25:21 +00:00
ad 10d0c9041f +UFS_EXTATTR 2008-01-30 14:24:11 +00:00
ad 162c8882a2 These interfaces have been obsoleted and removed from the system.
Please see the condvar(9), mutex(9), and rwlock(9) manual pages for
     information on kernel synchronisation primitives.
2008-01-30 14:18:53 +00:00
ad 2290e4283f Expunge references to lockmgr. 2008-01-30 14:16:42 +00:00
ad 549e8ec8b9 Has this compiled recently? 2008-01-30 14:12:20 +00:00
ad 90e58d8323 Remove lock/simplelock cruft. 2008-01-30 14:11:33 +00:00
tsutsui 664eeccc0e Fix for v_specinfo removal. 2008-01-30 14:10:25 +00:00
ad 9ef95126d8 Replace crufty use of lockmgr. 2008-01-30 14:08:00 +00:00
tsutsui ff536c35f7 Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
2008-01-30 13:49:09 +00:00
tsutsui 3676ae8965 Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
2008-01-30 13:31:02 +00:00
yamt 195ce1f164 pmap_page_remove: add a reference to the pmap earlier and comment why. 2008-01-30 13:28:29 +00:00
yamt 008913ddc2 pmap_remove_ptes, pmap_remove_pte: fix a panic seen on pkgbuild,
reported by S.P.Zeidler.
after recent locking changes, these assertions are no longer true.
2008-01-30 13:26:09 +00:00
ad abbfb97dd2 vlockmgr: return EBUSY when trylock fails, not EDEADLK.
Pointed out by yamt@.
2008-01-30 12:33:45 +00:00
he 0a4814ccdc Do a dummy pmf_device_register() in pcppi_attach() instead of only
in pcppi_isa_attach(), so that pcppi at acpi doesn't become an obstacle
to suspending.

Looked over by jmcneill.
2008-01-30 12:30:01 +00:00
ad ef1a8a69fc 4.99.52 - vnode, mount locking changes 2008-01-30 12:19:22 +00:00
simonb a4c23df6ce Add a simple resume hook that just calls bce_reset(), and register
this with pmf_device_register().

Makes suspend/resume with bce happy.  Much thanks to Jared for help here.
2008-01-30 12:00:35 +00:00
ad e556d15453 Make it compile. I'll leave it to pooka to figure out what is the correct
thing here because I don't understand what this code is doing.
2008-01-30 11:57:24 +00:00
simonb fb673d9599 WextraRemove unused DPRINTF/DPRINTFN macros.
Remove NetBSD 1.6 compatibility checks (way out of date).
Be somewhat consistent (and closer to KNF) with whitespace.
Use uintN_t instead of u_intN_t.

No functional changes.
2008-01-30 11:54:08 +00:00