Commit Graph

142591 Commits

Author SHA1 Message Date
yamt d0cbf72e2a yamt-uio_vmspace: new base. 2006-01-15 10:13:20 +00:00
yamt 926005485e allocbuf: yield cpu in a loop. 2006-01-15 09:01:02 +00:00
yamt b88fc0e1b7 make some debug statistics evcnt. 2006-01-15 08:31:31 +00:00
yamt 3856e837b5 - use POOL_INIT for bufpool.
- make bufiopool static.
2006-01-15 08:27:07 +00:00
xtraeme 10de7b75c6 Use pnowk7_init() to detect the powernow feature. 2006-01-15 04:14:31 +00:00
xtraeme d347a5866b Move the code that checks for a powernow capable cpu to pnowk7_init(),
so that the kernel and the lkm can use it without having it in two
files... plus minor fixes (idea from Rhialto).
2006-01-15 04:12:09 +00:00
uwe d619e0824c Loader::_load_memory - don't give up so easily if memsz > tagged page
size.  This makes ksyms work, constructed ELF header was too big to
fit into one tagged page.

As a side effect it makes detached miniroot work too, as to locate the
miniroot the symbol table must be correctly skipped.  We probably
should just pass that information in bootinfo.
2006-01-15 02:20:35 +00:00
mrg 7886ae7f1c add re(4): Realtek 8139C+/8169/8169S/8110S ethernet. been working for
a long time on my U10.
2006-01-15 00:12:38 +00:00
uwe 24aae33317 Add missing \n in a debug printf. 2006-01-15 00:07:49 +00:00
uwe 053de0d06e Get rid of an unused variable in Loader::_load_memory.
Add whitespace between = sign and casts, while there use uint32_t in
those casts.
2006-01-15 00:06:39 +00:00
christos 9c6e6ff8b2 Protect against uio_lwp being NULL from Pavel Cahyna 2006-01-14 23:49:59 +00:00
uwe dfe0035af2 Prettify debug messages about ksyms block. 2006-01-14 23:23:32 +00:00
uwe 58488e09fe Make debug message about zeroed areas look like the one for loaded areas. 2006-01-14 23:22:53 +00:00
is d3b456094f don't build any kernels, for now 2006-01-14 23:05:28 +00:00
agc 9823410edb Use a CPP definition for "/sbin/nologin" - it's at the top of the
file.

Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.

Modify some of the code here to conform to the standards in the rest
of this file.
2006-01-14 22:00:52 +00:00
uwe 7482e67f96 Provide uintN_t typedefs. Provide u_intN_t as compatibility typedefs.
Use uintN_t to define other types.
2006-01-14 21:35:26 +00:00
uwe fd533d6baf Kill trailing whitespace in local comment. 2006-01-14 21:17:37 +00:00
uwe d89c00702d Sync with <sys/endian.h>. 2006-01-14 21:15:53 +00:00
christos 1cf726830d zlib moved. 2006-01-14 21:15:40 +00:00
christos 559f2f553b remove comment which is not applicable. 2006-01-14 20:31:21 +00:00
christos c08686ce36 add NetBSD ifdefs 2006-01-14 20:28:58 +00:00
christos 49473ec58b - include <sys/types.h>
- add z_ptrdiff_t
- add NetBSD ifdefs.
2006-01-14 20:27:34 +00:00
wiz 596c1085ee Fix typo. 2006-01-14 20:27:22 +00:00
christos 86a96dbd0e use z_ptrdiff_t instead of ptrdiff_t directly. 2006-01-14 20:26:26 +00:00
christos 8f50ba1350 rename write to wwrite to avoid variable shadowing. 2006-01-14 20:26:05 +00:00
christos 8e71b08aa2 mention zlib and modify pppd 2006-01-14 20:23:13 +00:00
christos 8d137b9e29 mention zlib and libc/libkern merge. 2006-01-14 20:20:34 +00:00
christos a94f0325fe zlib 1.2.3 changed the include protection variable names; adjust. 2006-01-14 20:17:12 +00:00
christos ddce00bf3c Don't include zlib.h directly; redirect through libz.h; this mirrors how
libkern is done and let's us abstract where the real zlib.h is kept.
2006-01-14 20:16:44 +00:00
christos b7c7f77db6 use zlib-1.2.3 2006-01-14 20:15:38 +00:00
christos 526a733aa8 bump libz. 2006-01-14 20:13:57 +00:00
christos 80beac2873 use zlib-1.2.3 2006-01-14 20:12:36 +00:00
christos aaf4ece63a from www.zlib.net 2006-01-14 20:10:22 +00:00
christos f4a430efd2 Use the ppp zlib from net. In preparation for importing zlib-1.2.3.
Unfortunately due to the changes in 1.2.3 that have more fine-grain
states between calls to inflate, we cannot easily adapt it to
packetized mode.
2006-01-14 19:55:11 +00:00
christos 81a0859118 prepare for userland compilation. 2006-01-14 18:58:05 +00:00
yamt 03f80508d6 - unify ffs_blkatoff and lfs_blkatoff.
- remove ufs_ops::uo_blkatoff.
- add directory read-ahead code.  (disabled for now.)
2006-01-14 17:41:16 +00:00
hamajima e39c6d8223 fix compile error for ktrace-lwp. 2006-01-14 17:14:46 +00:00
is f7389079d9 Yet another uninstalled file. 2006-01-14 16:40:09 +00:00
is c110684412 Synchronize to reality - a few entries are still obviously wrong, but
so is what's installed.
2006-01-14 16:16:20 +00:00
wiz 3b03818912 Replace statfs(2) with statvfs(2). 2006-01-14 15:40:49 +00:00
elad ef8e209a99 sync & sort kern. 2006-01-14 15:36:38 +00:00
he 8cb8cb286c Descend into man8.hpcarm so that hpcarm's boot(8) actually gets installed. 2006-01-14 13:40:10 +00:00
rillig 09151829d3 The tprintf_open function returns NULL if no terminal handle could be
acquired.
2006-01-14 13:08:18 +00:00
elad 48c362c085 add some more to kern. 2006-01-14 11:52:20 +00:00
elad aa14ddaccd sort vm. 2006-01-14 11:18:45 +00:00
elad 455a40402f sync & sort hw. 2006-01-14 11:14:00 +00:00
elad 0fd32b39ab remove dup cnmagic. 2006-01-14 11:11:08 +00:00
yamt 468012e183 privcmd_ioctl: wrap IOCTL_PRIVCMD_INITDOMAIN_EVTCHN_OLD in #ifdef COMPAT_30. 2006-01-14 11:03:35 +00:00
elad 8ff7a54798 Sync and sort ddb, hw, kern, vm. 2006-01-14 10:33:11 +00:00
apb cea5941d78 Two special files that both refer to the same device should be treated
as identical.

PR 30779
Approved by christos
2006-01-14 09:18:17 +00:00