summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
AgeCommit message (Collapse)Author
2014-02-27Provide labs, llabs and imaxabs for kernel use.joerg
2014-02-26Update compiler-rt glue for the new source layout.joerg
2014-02-09Revert previous revision. It bkeaks profiling kernel builds.njoly
LIBISPRIVATE unconditionnally set MKPROFILE to no, preventing profiling kernel library.
2014-01-29Include compiler-rt in libc, libm and libkern.joerg
2014-01-29For ARM EABI, includ divide-by-0 trap handlers.joerg
2014-01-17This is not libc, so don't check the libc arch macro.joerg
2014-01-15For HAVE_LIBGCC=no, use compiler-rt for quad support.joerg
2013-12-27add strncat (for acpi)christos
2013-12-15Allow overriding CTASSERT. This helps with building NetBSD sources withpooka
compilers that don't support __COUNTER__ -- shifting the CTASSERTs around to avoid __LINE__ conflicts is a hopeless struggle.
2013-12-11Allow kernel code to access constant databases by moving cdbr(3) and thejoerg
required mi_vector_hash(3) into src/common.
2013-12-03libkern build glue for compiler-rt.joerg
2013-12-02changed lua_Number to int64_tlneto
2013-11-19For the purposes of static analysis, this never returns.christos
2013-11-03mark some variables as unused, but keep them around as commentschristos
2013-09-12Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is smalljoerg
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-08-28Fix libkern's prototype for explicit_memset.riastradh
2013-08-21Thumbifymatt
2013-08-21Simplify by using LIBISPRIVATE?= yesmatt
2013-08-20Some assembly files need to compiled -marm since they are Thumb compatible.matt
2013-08-12Fix typos (prX not cpX)matt
2013-08-12Add EHABI unwind stubs to libkern so prevent errors in linking if unwindmatt
tables are present.
2013-08-11Support thumbmatt
2013-07-23Another codegen bug that fixes (in this case lots of) atf tests.skrll
rump_server doesn't die so much now.
2013-07-18Adjust for coldfirematt
2013-07-18Fix typo.matt
2013-07-18Reorder a little to make clearer.matt
2013-07-18Keep stack longword aligned.matt
Use longword ops for %d2.
2013-07-18Convert to motorola syntaxmatt
2013-07-18Convert to morotola syntaxmatt
2013-07-18Don't use %d2 (violates the ABI since it wasn't saved), use %a0 instead.matt
Use a pcrelative access for the local data avoiding the GOT.
2013-06-29libkern: add murmurhash module.rmind
2013-06-24Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.riastradh
consttime_memequal is the same as the old consttime_bcmp. explicit_memset is to memset as explicit_bzero was to bcmp. Passes amd64 release and i386/ALL, but I'm sure I missed some spots, so please let me know.
2013-06-23Account bytes drawn from initial call to libkern arc4random.riastradh
XXX This unlocked initialization looks rather bogus...
2013-06-23Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).riastradh
rndsink(9): - Simplify API. - Simplify locking scheme. - Add a man page. - Avoid races in destruction. - Avoid races in requesting entropy now and scheduling entropy later. Periodic distribution of entropy to sinks reduces the need for the last one, but this way we don't need to rely on periodic distribution (e.g., in a future tickless NetBSD). rndsinks_lock should probably eventually merge with the rndpool lock, but we'll put that off for now. cprng(9): - Make struct cprng_strong opaque. - Move rndpseudo.c parts that futz with cprng guts to subr_cprng.c. - Fix kevent locking. (Is kevent locking documented anywhere?) - Stub out rump cprng further until we can rumpify rndsink instead. - Strip code to grovel through struct cprng_strong in fstat.
2013-06-21Add back {,u}modsi3 for libkern since if we are building standalone toolsmatt
we might be using the old ABI and might need them.
2013-06-20modsi3/umodsi3 are only needed !EABI armmatt
2013-05-02This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds thatmatt
share a MACHINE_ARCH for userland so that except for etc, will produce identical sets. usr/include/machine now points to usr/include/arm
2013-03-17Remove duplicate source files.nakayama
2013-03-17Revert previous. christos fixed the root cause.nakayama
2013-03-17undo sparc64 kludgechristos
2013-03-14Make sparc64 32-bit kernel buildable.nakayama
2013-03-11amend previous sparc64 fix: rump does not know about memcpyset.schristos
2013-03-10On sparc64 memcpy and memset are provided by memcpyset.s (should have beenchristos
memcpyset.S, but...). Don't include them in the build because it breaks the modular build where the kernel library is built as an object.
2013-03-02recognize OpenBSD toochristos
2013-02-06Modify earm rule to match any machine_arch starting with earm.matt
2013-01-23Add strnlen.c to SRCS (which will automatically use the .S version if itmatt
exists).
2013-01-23pull in strnlen.Smacallan
2012-12-12Don't pass down CPUFLAGS since its value is already in CFLAGS.matt
2012-10-30add new divsi3 related files.christos
2012-10-10add split files.christos