summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
AgeCommit message (Collapse)Author
2003-12-04netbsd.org -> NetBSD.orgkeihan
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-04NetBSD.ORG -> NetBSD.orgkeihan
Now all "NetBSD.ORG" are gone from src/sys.
2003-11-14Use assembler version of bswap64.uwe
2003-11-14bswap64 written in assembler.uwe
2003-11-13Eliminate bzero.uwe
2003-11-09Compile identity ntoh*/hton* only for big endian case.uwe
2003-11-09bzero is no longer used in the kernel.scw
2003-11-09bzero is gone from the kernelmartin
2003-11-09Get rid of bcopy relics. Minimize diffs against the libc version.uwe
2003-11-08Nuke bcopy. Move the code to memmove.S (which it is) make memmove theuwe
primary entry point and comment out the bcopy entry point. Kernels before and after the change are identical.
2003-11-08Add '.SUFFIXES: .m4' here, now that <sys.mk> doesn't provide it anymore.lukem
It appears that .PATH.m4: needs it. Should fix problem noted in private mail by Markus W Kilbinger.
2003-11-08don't need bcmp() and bzero()jdolecek
2003-11-08no need for bcmp.cjdolecek
2003-11-07Make 'dependall' generate dependencies in these libraries.dsl
2003-11-05rindex() shouldn't be used in the kernel. Use strrchr() instead.junyoung
2003-11-01g/c index.c and rindex.c (not used anywhere)jdolecek
2003-10-29Don't try to build random.S on 68010.mycroft
2003-10-29Refresh from libc to get 68010 version.mycroft
2003-10-27index() shouldn't be used in the kernel. Use strchr() instead.junyoung
2003-10-26Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros injunyoung
sys/systm.h.
2003-10-26Remove bcmp.S and bzero.S from list. They were doing nothing but wastingjunyoung
kernel bits for a long time (2 years?).
2003-10-23Duh, fix the align-to-32-bits code.scw
2003-10-21Add bswap64.c, required by options FFS_EI.tsutsui
2003-10-13Xscale-optimised mem* functions, contributed by Wasabi Systems.scw
(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-10update for new gas syntax. from Jochen Kunz.chs
2003-10-09big endian supportichiro
thanks to smi@sm.sony.co.jp
2003-10-08sort entries, and add a couplelukem
2003-10-02fix build for bootloaders (no /usr/include/sys/kernel.h any more).itojun
2003-09-23Same treatment as libc/hash/sha1.c: ifdef the sparc64 compiler bugmartin
workaround for old gcc only.
2003-09-11the asm version of strlcpy() was buggy, just use the C version.chs
2003-08-31update for LWPs, and some lite cleanup.chs
2003-08-27Actually the right instruction to fill a half-word.matt
From Juergen Hannken-Illjes hannken at eis dot cs dot tu-bs dot de
2003-08-20KNFitojun
2003-08-19Kerner library files for pdp10.ragge
2003-08-13Do not use the builtins for the mem* functions on vax, the compiler getsragge
confused with the static inline functions vax uses.
2003-08-13Include the C versions of the string instructions.ragge
Replace blkcpy() with a version that can handle overlapping data areas.
2003-08-10Add a memset.S (does not use dcbz; to be added later). It does both bzeromatt
and memset.
2003-08-10Sync with userland version.martin
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-07-07Add xlat_mbr_fstype - converts mbr type to disklabel typedsl
2003-06-07Provide a strtoul() implementation based on the one in libc instead of thebriggs
totally different version that was here. This version, of course, has an BSD license on it while the old one did not. This one also compiles down to tighter code--the smaller the better for libkern & libsa.
2003-05-15latest copyright notice (more loose). noted by wizitojun
2003-05-15add strl{cpy,cat} to libkern. code from lib/libc/string (originally from ↵itojun
openbsd).
2003-04-22don't define TRUE and FALSE locally.christos
2003-04-15Significantly faster memcpy/memmove/bcopy and memset/bzerodsl
2003-04-07When MEMCOPY is defined, don't bother checking if a backwards-copy isscw
required. That's what memmove() is for. This should fix port-powerpc/16889. The backwards copyin can confuse uiomove/genfs_getpages, resulting in corruption of files written over NFS.
2003-04-05NetBSD/acorn26 has used APCS-32 for years, so unifdef -U__APCS_26__.bjh21
2003-02-25Switch back to generic bzero/memset until new one is shown to work.matt
2003-02-24Actually use bzero.S. Also fix bzero to use GET_CPUINFOmatt
2003-02-24Don't make memset.c since bzero.o has memset in addition to bzero.matt