summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
AgeCommit message (Expand)Author
2013-06-08Add CTASSERT macro, for compile time assertionsStefan Fritsch
2013-06-07Add {,u}{div,mod}si3 to libkern and to the kernel as well.Miod Vallat
2013-06-03fix an oft copied typo that i'm tired of looking atTed Unangst
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. PreviouslyMartin Pieuchot
2013-02-02Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbelMiod Vallat
2013-01-16replace __attribute__((unused)) with __used, which will be defined to theDavid Gwynne
2013-01-05Switch m88k ports to ELF.Miod Vallat
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-04-26Add strnlen() to libkern.Matthew Dempsky
2012-01-17Remove assembly version of strlen from i386 and amd64, where it'sMike Belopuhov
2011-11-27Regen.Mark Kettenis
2011-11-27Switch to proper PA-RISC 2.0 mnemonics. Works around a bug in the assemblerMark Kettenis
2011-11-27Regen.Mark Kettenis
2011-11-27Fix return value of memcpy.Mark Kettenis
2011-11-27Oops, jsing@ changed spcopy.S without realizing that that file is generatedMark Kettenis
2011-11-27Regen.Mark Kettenis
2011-11-27Replace a few more 32-bit instructions with the proper 64-bit equivalent.Mark Kettenis
2011-09-19Regen.Mark Kettenis
2011-09-19Avoid sign-extension when extracting the low bits of addresses when checkingMark Kettenis
2011-07-19we need to alias __movstr* as __movmem* for gcc4Jonathan Gray
2011-04-14Regen.Joel Sing
2011-04-14Use 64-bit operations for address manipulation.Joel Sing
2011-04-14Correctly load p_addr and avoid trashing the source address.Joel Sing
2011-03-12syncTheo de Raadt
2011-03-12In the original sparc V7 book (and in the v8 book), the divrem leaf code usedTheo de Raadt
2011-01-27s/DST/DEST/ to avoid warnings when building RAMDISK kernels, which defineMiod Vallat
2011-01-10add a new function, explicit_bzero, to be used for erasing "secret" stuff.Ted Unangst
2010-07-20Add OpenSSH's timingsafe_bcmp() to libkern.Matthew Dempsky
2010-04-20destintation -> destinationMiod Vallat
2010-04-01Allow for multiple CPUs by moving to an array of cpu_info.Joel Sing
2009-12-12Provide a correct version for little endian kernels... sighMiod Vallat
2009-11-07remove gcc 1 workaround we no longer care about whichJonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-08-19<machine/macros.h> would provide inline version of a few of the functionsMiod Vallat
2009-05-24ansi func declsJonathan Gray
2009-01-25memcpy needs a prototype which is in systm.hAlexander Yurchenko
2008-10-15make random(9) return per-cpu values (by saving the seed in the cpuinfo),Theo de Raadt
2008-10-10Use the MI random() for all cases; no need for a MD version since itTheo de Raadt
2008-10-07unbreak ieeefp emulation code wrt converting double to unsignedMartynas Venckus
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-05-14These files are not used (and some of them would not compile anyway).Miod Vallat
2008-04-20Catch up with dismantled libkern.Mark Kettenis
2008-04-20Remove the random() function from locore.s (which used sparcv7 instructions,Mark Kettenis
2008-02-25delete prototypes for functions which the kernel does not haveTheo de Raadt
2007-12-29Override SoftFloat's countLeadingZeros32() with a faster, ff1-based, versionMiod Vallat
2007-12-29Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate ruleMiod Vallat
2007-11-28place a comment as to why these are otherwise emptyTheo de Raadt
2007-11-27mips64 also needs memcpy.S, otherwise memcpy.c gets built, which conflictsJoel Sing