summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern
AgeCommit message (Expand)AuthorFilesLines
2014-01-09tiny tweak to asm. prefer memcpy and memmove, with bcopy wrappertedu2-29/+28
2013-07-11add fls/flsl functions to find the last bit set in a valuejsg3-1/+95
2013-07-05VAX ELF kernel bits.miod5-79/+79
2013-06-17m68k kernel memcpy/memmove/bcopy implementation in libkern, remove ovbcopy, fix for larger than 128k size copies. Parts from deraadt@, ok (and off-by-one fix) miod@jj3-3/+134
2013-06-15Fast memmove() implementation for PowerPC, from NetBSD via martin@; withmiod3-1/+170
2013-06-15Fix evil typo causing the wrong pointer to be returned for < 32 bytesmiod1-2/+2
2013-06-15Preserve %o5 around Lbcopy_doubles; prevents the return value from memcpy()miod1-4/+5
2013-06-15Make bcopy() involve memmove(), not memcpy().miod2-4/+3
2013-06-15Correctly handle a length of zero in memcpy().miod1-7/+14
2013-06-15Don't return garbage in memcpy() but the original destination pointer.miod1-0/+1
2013-06-15give bcopy() the ovbcopy() semanticsmiod1-1/+2
2013-06-14regenkettenis2-2/+0
2013-06-14ovbcopy begonekettenis2-4/+2
2013-06-14regenkettenis2-0/+4
2013-06-14Fix memcpy/memmove return value.kettenis2-2/+6
2013-06-13new integral bcopy/memmove/memcpy, pulled out of sparc locorederaadt3-3/+421
2013-06-13syncronize "look in other file" messagesderaadt4-4/+4
2013-06-13merged bcopy/memmove/memcpyderaadt3-129/+142
2013-06-13rework the memcpy family to all use one function body and implementtedu3-272/+248
2013-06-13Remove pointless instruction in the memcpy path that snuck in with thekettenis1-2/+0
2013-06-13take libc bcopy, gut the #ifdefs for other modes, and place it here.deraadt1-0/+116
2013-06-13ovbcopy begonederaadt1-4/+1
2013-06-13same bcopy/memmove/memcpy methodology for vax.deraadt3-158/+19
2013-06-13merge bcopy/memmove/memcpy into one file, with jumps so that it is morederaadt3-3/+113
2013-06-13merge memcpy/memmove/bcopy into one file, with sub-jumps.deraadt3-3/+271
2013-06-13merge bcopy/memcpy/memmove into one function.deraadt3-104/+89
2013-06-12From now on, the MI libkern memcpy should not do overlap handling.deraadt1-16/+4
2013-06-11regenkettenis1-45/+45
2013-06-11Optimize memcpy(9) by always doing a forward copy; it should never be usedkettenis1-9/+9
2013-06-11remove ovbcopy supportderaadt14-20/+0
2013-06-11regenkettenis1-43/+43
2013-06-11Optimize memcpy(9) by always doing a forward copy; it should never be usedkettenis1-9/+9
2013-06-11portable memmove(), for if an architecture lacks a custom optimizedderaadt1-0/+53
2013-06-08Add CTASSERT macro, for compile time assertionssf1-1/+4
2013-06-07Add {,u}{div,mod}si3 to libkern and to the kernel as well.miod4-0/+195
2013-06-03fix an oft copied typo that i'm tired of looking attedu39-39/+39
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachmpi1-8/+16
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headermpi1-16/+8
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. Previouslympi1-8/+16
2013-02-02Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbelmiod13-163/+163
2013-01-16replace __attribute__((unused)) with __used, which will be defined to thedlg1-6/+2
2013-01-05Switch m88k ports to ELF.miod2-200/+200
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt3-7/+4
2012-04-26Add strnlen() to libkern.matthew2-1/+38
2012-01-17Remove assembly version of strlen from i386 and amd64, where it'smikeb2-38/+0
2011-11-27Regen.kettenis2-68/+68
2011-11-27Switch to proper PA-RISC 2.0 mnemonics. Works around a bug in the assemblerkettenis1-22/+22
2011-11-27Regen.kettenis1-3/+3
2011-11-27Fix return value of memcpy.kettenis1-4/+3
2011-11-27Oops, jsing@ changed spcopy.S without realizing that that file is generatedkettenis1-7/+3