summaryrefslogtreecommitdiff
path: root/sys/lib
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-30Add a prototype for memset().he
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-23The paddr_t type is integral, so no longer compatible with NULL,he
so use 0 instead.
2003-10-21Add bswap64.c, required by options FFS_EI.tsutsui
2003-10-18Rename local variables `read' to `nread' to shut up -Wshadow.itohy
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-09-04Um, undo last; libsa printf doesn't do %z.he
2003-09-04Use the %zu format for size_t printing instead of cast + %lu.he
2003-09-03Cast size_t to u_long before printing, and use %lu instead of %d as format.he
Fixes compilation on alpha.
2003-09-01Another attempt to get libsa to contain the right things.dsl
- put a 'standards conforming' memcmp into memcmp.c - make bcmp be a second label on the same code - make bcmp.c be just #include "memcmp.c" This means that libsa.o might contain both a memcmp.o and a bcmp.o, but both contain the same code (defining both symbols) so it doesn't matter which ld uses. Saves worrying about which of bcmp.c and memcmp.c the architecture specific Makefile requests.
2003-08-31Fix signed/unsigned warnings.fvdl
2003-08-31update for LWPs, and some lite cleanup.chs
2003-08-29The __strong_alias() seems to have to be in the file with the definition.dsl
So make bcmp.c define bcmp and memcmp. This should (?) fix the atari build. (I've now no idea why the previous change defined memcpy for the alpha build.)
2003-08-27An ever sneakier way of making memcmp and bcmp use the same code:dsl
__strong_alias(memcmp,bcmp)
2003-08-27Use memset not bzero to help shrink alpha bootxx_lfsdsl
(sys/arch/alpha/stand/common/start.S also uses bzero, I don't know any alpha opcodes so cant change that one...)
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-22Reduce memory footprint:dsl
- use file buffer for all block reads - only save a small amount of the indirect block list Allows i386 bootxx_ufs code to load /boot from a filesystem with 32k blocks while still fitting inside 64k of memory. Code size reduced as well (by ~1k on i386). It ought to be possible to use a buffer that is smaller than a filesystem block. This might be needed in order to boot from filesystems with larger block sizes.
2003-08-21Should call ufs_close() if it isn't being built in.elric
2003-08-21make 'path' argument to cd9660_open 'const char *' and fix the fallout.elric
2003-08-20KNFitojun
2003-08-19Kerner library files for pdp10.ragge
2003-08-18make 'path' argument to ufs_open 'const char *' and fix the fallout.dsl
2003-08-18KNF, fix a comment or twodsl