yamt
43308ea339
fix build of bzero.
...
XXX is it better to remove it as i386?
2005-12-27 08:49:35 +00:00
perry
4a2c58419f
__asm__ -> __asm
2005-12-24 23:29:06 +00:00
perry
0f0296d88a
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:45:08 +00:00
christos
f852d21f71
Add the state setting functions for the new random function, but use the
...
small one by default, so that we can switch in the future if we want to.
2005-12-21 14:24:44 +00:00
christos
153f1146ed
Use common sources with userland.
2005-12-20 19:35:26 +00:00
christos
6fcf9fd532
Provide _DIAGASSERT and NULL, so that we don't have to do it in *all* the
...
libkern files.
Also the new inet_addr, provides inet_aton; advertise it.
2005-12-20 19:35:12 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
chs
8b17730eac
put mcount.c in the normal object list, so that "make depend" works.
...
use a gcc attribute to prevent it from being instrumented.
2005-10-02 15:34:17 +00:00
uebayasi
e6760038b8
Redo previous; don't add mcount.po to POBJS when MKPROFILE=no.
2005-08-25 08:55:42 +00:00
uebayasi
bab482f18d
Create mcount.po only when MKPROFILE != no.
2005-08-25 08:34:50 +00:00
simonb
bdc552eaee
KNF nit.
2005-07-27 12:41:09 +00:00
tron
b1be36cfb8
Don't use a static buffer in SHA1Transform() because it might cause
...
various problems including sporadic IPSec authentification failures
if this code is used by multiple instances in parallel.
2005-06-30 13:08:46 +00:00
scw
9931d6382c
Re-sync with libc version of memcpy_arm.S, which has deals correctly
...
with big-endian ARM (non-XScale) systems.
2005-06-02 08:20:53 +00:00
christos
f69f7eea28
add missing const
2005-05-31 00:57:07 +00:00
reed
b8643619e6
Use ${TOOL_M4} instead of "m4". (I only tested this fix
...
for sparc but not sparc64 or alpha yet.)
Noticed problem when building NetBSD/sparc from a Linux/i386 host
that didn't have "m4".
2005-04-22 00:22:55 +00:00
dsl
4f6d146592
KNF
2005-03-12 16:39:41 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
uwe
36ae53aba9
MBR_PTYPE_APPLE_UFS is now spelled with an underscore.
2004-11-12 19:34:43 +00:00
sekiya
77aa58c5b4
Use 64-bit-clean addition/subtraction opcodes for pointer arithmetic iff
...
_LP64 is defined.
2004-09-29 04:45:26 +00:00
enami
41122731c8
Redo part of rev. 1.10.
2004-09-17 21:54:28 +00:00
yamt
64308e90f3
arc4random: fix a bug introduced by rev.1.7.
...
actually generate four bytes random value, rather than
leaving a byte always zero.
2004-09-08 04:06:15 +00:00
christos
5d1f319c56
add __UNCONST
2004-07-01 19:04:14 +00:00
christos
3e36df0496
avoid string const cast-aways.
2004-06-30 13:45:54 +00:00
christos
db25564166
remove useless typedef and casts
2004-06-30 13:45:21 +00:00
yamt
f502110937
add '.L' prefixes to local labels.
2004-04-15 09:20:29 +00:00
keihan
b8702f530b
netbsd.org -> NetBSD.org
...
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
keihan
8476e6755a
NetBSD.ORG -> NetBSD.org
...
Now all "NetBSD.ORG" are gone from src/sys.
2003-12-04 12:42:54 +00:00
uwe
b12f3576c6
Use assembler version of bswap64.
2003-11-14 00:39:17 +00:00
uwe
be72e49c47
bswap64 written in assembler.
2003-11-14 00:38:17 +00:00
uwe
8fdd163272
Eliminate bzero.
2003-11-13 23:55:20 +00:00
uwe
19d60bc09e
Compile identity ntoh*/hton* only for big endian case.
2003-11-09 22:04:00 +00:00
scw
6bf28caf3e
bzero is no longer used in the kernel.
2003-11-09 16:12:57 +00:00
martin
c9f72038da
bzero is gone from the kernel
2003-11-09 11:25:18 +00:00
uwe
680e83de11
Get rid of bcopy relics. Minimize diffs against the libc version.
2003-11-09 01:03:56 +00:00
uwe
f28afa6ac5
Nuke bcopy. Move the code to memmove.S (which it is) make memmove the
...
primary entry point and comment out the bcopy entry point.
Kernels before and after the change are identical.
2003-11-08 23:59:12 +00:00
lukem
7ce35daccc
Add '.SUFFIXES: .m4' here, now that <sys.mk> doesn't provide it anymore.
...
It appears that .PATH.m4: needs it.
Should fix problem noted in private mail by Markus W Kilbinger.
2003-11-08 14:45:02 +00:00
jdolecek
3050a50d90
don't need bcmp() and bzero()
2003-11-08 07:40:37 +00:00
jdolecek
7cc19c4f27
no need for bcmp.c
2003-11-08 07:24:46 +00:00
dsl
7dbd0e094b
Make 'dependall' generate dependencies in these libraries.
2003-11-07 23:34:28 +00:00
junyoung
dfb82ca484
rindex() shouldn't be used in the kernel. Use strrchr() instead.
2003-11-05 05:46:32 +00:00
jdolecek
c12a055f27
g/c index.c and rindex.c (not used anywhere)
2003-11-01 13:17:01 +00:00
mycroft
ab8cc2146b
Don't try to build random.S on 68010.
2003-10-29 23:32:15 +00:00
mycroft
363f05d417
Refresh from libc to get 68010 version.
2003-10-29 23:19:11 +00:00
junyoung
592280de7a
index() shouldn't be used in the kernel. Use strchr() instead.
2003-10-27 07:28:15 +00:00
junyoung
21110867b5
Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
...
sys/systm.h.
2003-10-26 14:39:35 +00:00
junyoung
6fe2633df0
Remove bcmp.S and bzero.S from list. They were doing nothing but wasting
...
kernel bits for a long time (2 years?).
2003-10-26 14:37:52 +00:00
scw
2ffebceb85
Duh, fix the align-to-32-bits code.
2003-10-23 20:46:40 +00:00
tsutsui
fa49899d30
Add bswap64.c, required by options FFS_EI.
2003-10-21 14:49:00 +00:00
scw
5e7e19ec12
Xscale-optimised mem* functions, contributed by Wasabi Systems.
...
(Note: memcmp/memset improvements also benefit non-Xscale).
memcmp() - Compare 32-bits at a time if possible. Special-case 6-byte
comparisons, for the benefit of the network stack.
memset() - More loop unrolling, plus use of 'strd' instruction,
results in > 100% speedup on Xscale.
memcpy() - Big-endian support, unrolled loops, 'strd/ldrd/pld', plus
special-cases for very common length/alignment combinations
(at least in the kernel). Benchmarks show ~50% improvment on
Xscale.
memmove() - Big-endian support. Use fast memcpy(), above, if the regions
don't overlap. Otherwise unchanged.
2003-10-13 19:59:24 +00:00
chs
06332c88ef
update for new gas syntax. from Jochen Kunz.
2003-10-10 15:07:43 +00:00