Commit Graph

168161 Commits

Author SHA1 Message Date
christos
f071da976a - put const back, no reason to modify the prototype.
1. Please don't cast function pointers to (void *), use the full function
   prototype cast; this is for archs where a function pointer is not a regular
   pointer.
2. Compare pointers to NULL not 0.
2008-03-26 02:21:52 +00:00
christos
efe07f9c02 fix again 2008-03-25 23:24:38 +00:00
christos
9f2bc34fb9 bcopy does not return ptr. 2008-03-25 23:23:34 +00:00
christos
55feb339a9 fix bcopy again 2008-03-25 23:23:13 +00:00
yamt
91ae756395 - for some ports, especially for ones without pmap_growkernel,
buf_memcalc is used by bootstrap as well.  fix NULL dereference for them.
- limit kva usage for each cache to 20% of vm_map.  XXX a bit arbitrary.
- add a comment.
2008-03-25 23:21:42 +00:00
christos
8ac6bd68d8 fix bcopy prototype 2008-03-25 23:21:04 +00:00
christos
3d8daf0799 add a prototype for bcopy. 2008-03-25 23:19:51 +00:00
christos
93f951ce0d fix #ifdefs for BCOPY 2008-03-25 23:16:29 +00:00
christos
985a3d11e8 add bcopy and bzero for the benefit of loadfile. 2008-03-25 23:13:15 +00:00
christos
19d181b7f5 add bcopy and bzero for loadfile for now. Should get rid of it. 2008-03-25 23:12:31 +00:00
christos
9ebe85fa97 remove stray comment 2008-03-25 22:55:25 +00:00
christos
8f0af7be4b fix typo 2008-03-25 22:54:54 +00:00
ad
8910b668ba mount_domount: hold an additional reference to the mountpoint across the
call to VFS_START. The file system can be unmounted before VFS_START
returns. Partially addresses PR kern/38291.
2008-03-25 22:13:32 +00:00
xtraeme
87e2fc09d7 The select and poll subsystems are now implemented in sys_select.c
and not sys_generic.c.
2008-03-25 21:51:32 +00:00
christos
e1b834bdd8 - use mem* instead of b* routines, and kill the b* routines.
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.
2008-03-25 21:23:50 +00:00
christos
9e32ad04aa add __OPTIMIZE_SIZE__ versions. 2008-03-25 21:22:37 +00:00
martin
261a6922f9 Make the debug message that triggered in PR 38297 slightly more verbose 2008-03-25 20:44:12 +00:00
reed
10ebc9ab81 Add some MLINKS for man pages (no new content).
lpa(4) (Man page was removed about 14 years ago. Now link to lpt.4
on acorn32, i386, and mvme68k.)

audioctl(4)

random(4)
urandom(4)

tuner(4)
vbi(4)

wsmuxctl(4)

As mentioned on netbsd-docs list. (Many, many more man pages to do.)
2008-03-25 20:04:33 +00:00
apb
babf703a98 Reference stuirda(4), which now exists. (Inspired by revision 1.86.) 2008-03-25 19:53:13 +00:00
apb
7de1195e8c Change "2001" to "2007" in the copyright notice. This file was created in
2007, and I assume the 2001 was accidentally copied from elsewhere.
2008-03-25 19:49:40 +00:00
apb
dd2f4bae78 Install the stuirda.4 man page, which was created in June 2007. 2008-03-25 19:41:56 +00:00
martin
31c74d197f Count the number of syscalls per cpu, to avoid cache trashing around
uvmexp.syscalls.
I wonder if we should apply the same treatment to uvmexp.{traps,intr,faults}
2008-03-25 16:42:07 +00:00
martin
d05574d259 Remove unused symbol 2008-03-25 16:01:15 +00:00
martin
23e1f3f5d4 Use cpu index instead of ID for cpuctl; extend listing to provide both
numbers (but now the ID is only informational).
2008-03-25 15:06:02 +00:00
martin
3ee500ddd5 Translate "Test programs" 2008-03-25 12:54:32 +00:00
wiz
9abcd2ffbe Fix a tip: use pkg_info, not pkg_add to find out which executables
belong to a package.
2008-03-25 10:50:34 +00:00
mlelstv
237876a9eb add new Heimdal files for MKDEBUG option 2008-03-25 07:03:02 +00:00
mrg
a2ab41e161 s/exit 0/true/ in the main target so that this works if interrupted
between "mkdir" and libiberty.a being built.
2008-03-25 03:59:17 +00:00
cube
d94699ecbb Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4). 2008-03-25 00:49:19 +00:00
yamt
f722be6c16 include Makefile.inc for BINDIR. 2008-03-25 00:30:11 +00:00
yamt
ef630703b1 regen. 2008-03-24 23:47:06 +00:00
yamt
f725bfefcf after yamt-lazymbuf merge, mark send/recv syscalls MPSAFE.
pointed out by Andrew Doran.
2008-03-24 23:46:43 +00:00
xtraeme
53fbc48b28 Remove a commented out line that was causing a warning. 2008-03-24 23:14:02 +00:00
cube
4674a8058c Don't reference m68k/saframe.h. Zed's dead, baby, Zed's dead. 2008-03-24 23:02:38 +00:00
xtraeme
027cbfd7a2 Mention ucycom(4). 2008-03-24 22:51:26 +00:00
xtraeme
b243913ce0 Separate the device list in different sections, and update the list
to match current reality in the src tree.

Inspired by the OpenBSD's usb(4) manpage.
2008-03-24 22:49:20 +00:00
xtraeme
f65088e3af Also mention uslsa(4). 2008-03-24 21:58:13 +00:00
xtraeme
123b5f56be Mention uchcom(4) and uhmodem(4). 2008-03-24 21:55:01 +00:00
mlelstv
eaec738d10 align cast with heimdal source
http://loka.it.su.se/fisheye/changelog/heimdal/?cs=22773
2008-03-24 20:05:57 +00:00
martin
99c43f077e Adapt to sel* changes 2008-03-24 19:40:18 +00:00
cube
58f7b5e1f3 Split device_t for cd(4). 2008-03-24 18:27:06 +00:00
jmmv
3f1571cbcf Fix flags for kern_synch.c: it is COPTS.<cfile>, not CFLAGS.<cfile>. 2008-03-24 18:03:27 +00:00
jdc
35ce34ed43 Don't define HAVE_WCHAR if DISABLE_WCHAR is defined.
Pointed out by martin@.
2008-03-24 16:57:28 +00:00
kochi
2ead1ed5c4 Add atomic_cas_foo_ni alias. 2008-03-24 14:59:30 +00:00
cube
b1be269fbd Split device_t and softc for atapibus(4). 2008-03-24 14:44:26 +00:00
elad
b2b4fb68be Introduce two missing KAUTH_GENERIC_ISSUSER check in the voodoo and machfb
mmap() code.

This and similar requests will be replaced Soon, but these two in
particular should be pulled up to netbsd-4, and to allow doing that
smoothly, we're first introducing the "issuser" version.

Discussed with and okay macallan@.
2008-03-24 14:16:04 +00:00
mlelstv
0b9b01afa9 Heimdal cannot easily detect wether the system uses kerberos or not
on a client. For now, turn on the hack, that causes heimdal to fail
when there is no config file. ok'd by lha.
2008-03-24 13:56:41 +00:00
ad
11d69830e6 +pseudo-device lockstat since there is a cycle counter. Ok martin@. 2008-03-24 13:48:18 +00:00
tnozaki
690d9c4d8a add comment about renaming of setlocale -> __setlocale_mb_len_max32. 2008-03-24 12:54:38 +00:00
yamt
ddf7689f27 terminate yamt-lazymbuf branch. 2008-03-24 12:34:51 +00:00