Commit Graph

98996 Commits

Author SHA1 Message Date
itojun
4ca3b72694 remove obsolete use of M_LINK0. it was planned to be used to identify
isosynchronous stream from others, but end up not being used.
From: Hayakawa Koichi <haya@ilink.sony.co.jp>
2002-06-24 00:42:27 +00:00
itojun
39cf9ef1f5 g/c last bit of old ipv6 prefix management. 2002-06-23 23:34:08 +00:00
thorpej
f89b062ae7 During native signal delivery (and iBCS2, since it uses the native
sigcode), arrange to have the signal handler invoked directly, using
the trampoline only for the return path, saving a call insn.  Play
some other stack trickery in the trampoline to turn 2 pushl's into
one movl.
2002-06-23 22:18:49 +00:00
matt
5ac19a376b Add finitef 2002-06-23 21:55:12 +00:00
matt
7a0238324a Add cosf/sinf. 2002-06-23 21:54:37 +00:00
matt
471cb493ae Add modff 2002-06-23 21:48:52 +00:00
perry
307f36e80c Note that times now uses sysconf(_SC_CLK_TCK) ticks, not CLK_TCK
ticks. Although the two are the same, SuS now says you use the former,
not the latter, to get the information. Also, fill in a little
information on just how awful this crusty wreck is.
2002-06-23 21:32:01 +00:00
thorpej
4c0113def4 Swap the order of the sigcontext and hardware state in the sigframe. 2002-06-23 21:31:12 +00:00
manu
d0c5097f05 Typo 2002-06-23 20:36:36 +00:00
fvdl
34e950c569 Add files for bge at pci attachment. 2002-06-23 20:36:26 +00:00
perry
25992495dc Since CLK_TCK is now a macro expanding into a function call, cache its
output instead of using it willy nilly.
2002-06-23 20:21:08 +00:00
perry
25e1b60346 In the manner of Solaris and other OSes, we now define CLK_TCK to
expand to a call to __sysconf(_SC_CLK_TCK), rather than hard coding it
as a constant.
2002-06-23 19:41:04 +00:00
perry
ea360bda1a make sysconf(_SC_CLK_TCK) return the kernel hz value, instead of a
fixed constant, as is done on Solaris, Linux, etc.

Technically, standards don't *require* this, but having it return a
constant is a violation of the spirit, and screws up programs that
(perhaps improperly) assume that it will return kernel hz.
2002-06-23 19:19:01 +00:00
thorpej
9cb2f482f0 When delivering a signal, arrange to have the handler invoked directly,
using the trampoline only for the return.  This saves two instructions
in the trampoline, one of them being a branch.
2002-06-23 19:16:43 +00:00
thorpej
7f7f0f86bd When delivering a signal, arrange for the handler to be invoked
directly.  The trampoline is now used only for the return, and
makes it another 2 instructions shorter.
2002-06-23 18:49:33 +00:00
thorpej
508e2dcf41 When delivering a signal, don't push the signum, code, and context pointer,
or handler onto the stack.  Instead, just stuff them into the correct
argument registers (handler is a "4th arg").
2002-06-23 18:35:05 +00:00
perry
46c82860b1 Fix a variable initializer where CLK_TCK was assumed to be a compile
time constant. Soon it won't be.
2002-06-23 17:47:45 +00:00
thorpej
aaf6e7902d Add ENTRY_NOPROFILE(). 2002-06-23 17:26:58 +00:00
perry
90062e3f5d Remove (completely unused) definition of CLK_TCK. Nothing in the
kernel uses it, it is protected by _KERNEL, and it conflicts with the
definition in userland.
2002-06-23 17:07:58 +00:00
perry
fc9464af40 remove definition of CLOCKS_PER_SEC protected by #ifdef KERNEL. It is
used nowhere, and KERNEL is defined nowhere (vs. _KERNEL).
2002-06-23 16:54:00 +00:00
itojun
292c386a5e use strtok_r, as strtok can interfere with outside users. 2002-06-23 12:20:10 +00:00
tron
db385ae9af Synchronize last change with what is in the official amd sources now as
suggested by Erez Zadok in private e-mail.
2002-06-23 08:37:36 +00:00
mrg
9dcb300af2 finish previous; it would be nice if people were to use the lovely
cross compiling mechanisms we have when making sweeping changes...
2002-06-23 03:00:19 +00:00
gmcgarry
5a74b0b2f5 Back out revision 1.132. This revision broke binary compatibility with
binaries which were working fine on NetBSD 1.5.  We defer this change
until a longer-term fix is found as explain in the commit message in
revision 1.132.

Further details can be found in PR17159.
2002-06-23 01:36:07 +00:00
gmcgarry
5a5f0418dc Add missing .\} 2002-06-23 01:27:52 +00:00
wiz
bfb4c9fa11 Use a slightly more standard section header. 2002-06-23 00:22:56 +00:00
thorpej
43e7ad972b Garbage-collect sigframe references. 2002-06-23 00:16:59 +00:00
thorpej
31404c3f2e When delivering a signal, there is no need to push the signal number,
code, context pointer, or handler onto the stack, so don't do so.
2002-06-23 00:16:20 +00:00
fvdl
73f40b9030 Add bge@pci attachment. 2002-06-22 23:13:37 +00:00
jdolecek
7bce3285d4 put back RCS Id 2002-06-22 22:14:09 +00:00
perry
037dfc0e18 add -3 option (display three month range) 2002-06-22 21:14:18 +00:00
chris
5f8eb07bb7 Back out last change, following jason's advice, it's lsof that's actually
broken not the headers.
2002-06-22 20:39:18 +00:00
wiz
b023fd1c8e Minor grammar and typo fixes. 2002-06-22 20:16:31 +00:00
bjh21
2f6c7b64f6 Mention wsdisplay(4), since the ioctl documentation there is likely to be
useful to implementors as well.
2002-06-22 19:09:38 +00:00
bjh21
44e5bfb565 Add some documentation for some of the WSDISPLAYIO_* ioctls. This
is largely derived from existing implementations, and may be incorrect.
2002-06-22 19:08:32 +00:00
yamt
a113bc6fa4 - free buf when unneeded.
- pass a consistent type to free(9).
2002-06-22 17:41:23 +00:00
yamt
f6849cb26f fix loop condition.
(don't skip last tag)
2002-06-22 16:56:11 +00:00
fvdl
b04a6fd69c Driver for Broadcom 570x / Altima AC 1000 gigabit ethernet cards.
Written by Bill Paul for FreeBSD. This port started out with the
port done to OpenBSD by nate@openbsd.org, but ended up looking much
more like the port of the ti driver done by drochner@netbsd.org
(they are similar in structure).
2002-06-22 14:42:07 +00:00
fvdl
64fc3ae071 Match BCM5701 2002-06-22 14:38:34 +00:00
fvdl
bc97012696 Add more register definitions. From FreeBSD. 2002-06-22 14:37:58 +00:00
fvdl
506d548f6c Regen. 2002-06-22 14:36:26 +00:00
fvdl
3cfd73048b Aff BCM 5701 PHY Id. 2002-06-22 14:35:52 +00:00
fvdl
5ae59ad64f Regenerate. 2002-06-22 14:34:49 +00:00
fvdl
1ebb22d9a9 Add Altima PCI Ids. 2002-06-22 14:33:54 +00:00
toshii
01b6ded4f1 Comment out MEMORY_DISK_HOOKS as a workarund for the following problem.
hpcarm has a bug which prevents booting if kernel text+data size exceeds
3.75MB.
2002-06-22 13:04:00 +00:00
manu
7d2ac48550 Fixed a typo that borke build with DEBUG_IRIX 2002-06-22 13:02:39 +00:00
itojun
61f28217c4 move sanity check upwards. sync w/kame
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
2002-06-22 12:27:09 +00:00
itojun
cfb9a4a799 avoid listening socket from mistakenly use incorrect cached policy.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>  sync w/kame
2002-06-22 12:04:07 +00:00
itojun
211e500c75 use strtok_r, as strtok can interfere with other callers. from openbsd 2002-06-22 11:52:40 +00:00
itojun
f16149934e avoid unneeded call to m_pullup 2002-06-22 11:46:16 +00:00