Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-12 | Fix kernel profiling on MP systems by using per-CPU buffers and teach | Martin Pieuchot | |
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@ | |||
2013-02-12 | Back out per-CPU kernel profiling, it shouldn't modify a public header | Martin Pieuchot | |
at this moment. | |||
2013-02-11 | Fix kernel profiling on MP systems by using per-CPU buffer. Previously | Martin Pieuchot | |
various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok mikeb@, haesbaert@ | |||
2013-02-02 | Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbel | Miod Vallat | |
in fpsp has to be renamed due to a clash with other parts of the kernel. | |||
2013-01-16 | replace __attribute__((unused)) with __used, which will be defined to the | David Gwynne | |
right thing for whichever compiler we use. found while trying to build a profiled kernel on sparc64. solution found by guenther and refined by miod and kettenis. ok guenther@ kettenis@ | |||
2013-01-07 | Move exec() libsa prototype to hp300 stand, now that it can no longer be | Miod Vallat | |
found in libsa. | |||
2013-01-05 | Switch m88k ports to ELF. | Miod Vallat | |
2013-01-01 | Remove libsa exec.c, not used by anything anymore; all boot blocks now use | Miod Vallat | |
loadfile or a derivative of. | |||
2013-01-01 | Remove unused XCPPFLAGS. | Miod Vallat | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-10-09 | Provide standalone versions of AES, AES XTS, HMAC SHA1, PBKDF2 and SHA1. | Joel Sing | |
2012-10-09 | Provide an explicit_bzero for standalone usage. | Joel Sing | |
2012-07-13 | bye bye SCCS | Theo de Raadt | |
2012-04-26 | Add strnlen() to libkern. | Matthew Dempsky | |
ok deraadt | |||
2012-01-17 | Remove assembly version of strlen from i386 and amd64, where it's | Mike Belopuhov | |
up to 3 times slower than the C code most of the time. This was brought up by DragonflyBSD guys initially. ok deraadt, guenther. miod will not miss it. | |||
2011-11-27 | Regen. | Mark Kettenis | |
2011-11-27 | Switch to proper PA-RISC 2.0 mnemonics. Works around a bug in the assembler | Mark Kettenis | |
getting rid of the (hopefully) last bug in this code. | |||
2011-11-27 | Regen. | Mark Kettenis | |
2011-11-27 | Fix return value of memcpy. | Mark Kettenis | |
2011-11-27 | Oops, jsing@ changed spcopy.S without realizing that that file is generated | Mark Kettenis | |
from bcopy.m4. Fix that. | |||
2011-11-27 | Regen. | Mark Kettenis | |
2011-11-27 | Replace a few more 32-bit instructions with the proper 64-bit equivalent. | Mark Kettenis | |
Also fix the return value of memcpy. With these changes, this seems to work as advertised now. | |||
2011-09-20 | Oops, forgot to remove that reference to now dead saioctl.h | Miod Vallat | |
2011-09-20 | Remove unused libsa error code and descriptions. Anything shrinking | Miod Vallat | |
boot blocks is worth having. | |||
2011-09-20 | Remove unused file before deranged boot blocks writer get ideas from it. | Miod Vallat | |
2011-09-19 | Regen. | Mark Kettenis | |
2011-09-19 | Avoid sign-extension when extracting the low bits of addresses when checking | Mark Kettenis | |
if the addresses are 4-byte aligned. ok jsing@ | |||
2011-07-19 | we need to alias __movstr* as __movmem* for gcc4 | Jonathan Gray | |
from NetBSD. ok miod@ drahn@ | |||
2011-07-16 | Make the updated zlib compile with a debug kernel. | Joel Sing | |
ok deraadt@ | |||
2011-07-07 | Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz | Theo de Raadt | |
code. Missing chunks of the API are imported from the libc version, with a few #ifdef's to port it into the kernel environment. The bootblocks already used the newer code, and should encounter no surprises since there are so few changes to the existing files. In the kernel, ipcomp and kernel ppp are changed to the new API. ipcomp has been tested. ok tedu the brave | |||
2011-05-28 | Do not leak memory if ufs_open() fails; reported by and ok martynas@ | Miod Vallat | |
2011-04-14 | Regen. | Joel Sing | |
2011-04-14 | Use 64-bit operations for address manipulation. | Joel Sing | |
2011-04-14 | Correctly load p_addr and avoid trashing the source address. | Joel Sing | |
2011-03-13 | Change daddr_t to daddr32_t. The bootblocks on our architectures only | Theo de Raadt | |
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw | |||
2011-03-12 | sync | Theo de Raadt | |
2011-03-12 | In the original sparc V7 book (and in the v8 book), the divrem leaf code used | Theo de Raadt | |
local registers for a few temporaries. This was changed to use two global registers. Maybe to permit use in-kernel without conflicting with the register V7 register window handlers. (Was this done by Chris Torek? Is this related to Gordon Irlam's work? Or was it in NetBSD? Hard to tell because NetBSD removed their original cvs tree.) In V8 the ABI was tightened; more global registers became offlimits in different ways. We started supporting sun4m, and did not consider this. As a result, the global registers chosen are the wrong choice. In particular, %g7 is a poor choice for upcoming TLS work. It looks like it is safer to use %g5 and %g6 since these functions are "system software". All re-entrant parts of the system save it. On sparc64 these functions are in libc per ABI requirement, but are unused. On sparc, they occur in bootblocks (no reentrancy), kernel (reentrancy saves globals; kernel is not ABI compliant), userland libc (signal handlers save globals), and ld.so (symbol binding is not re-entrant on its own). Discussed rather extensively with guenther, kettenis, miod and drahn. | |||
2011-01-27 | s/DST/DEST/ to avoid warnings when building RAMDISK kernels, which define | Miod Vallat | |
TIMEZONE and DST... | |||
2011-01-10 | add a new function, explicit_bzero, to be used for erasing "secret" stuff. | Ted Unangst | |
unlike normal bzero, we guarantee that the compiler will not optimize out calls to this function for otherwise dead variables. to be adjusted as needed when compilers and linkers get smarter. ok deraadt miod | |||
2010-12-06 | - properly remove NENTS now after fixing the fallout. | Jasper Lievisse Adriaanse | |
ok deraadt@ | |||
2010-12-06 | - partially revert previous NENTS removal for arches which got busted. | Jasper Lievisse Adriaanse | |
2010-12-06 | - drop NENTS(), which was yet another copy of nitems(). | Jasper Lievisse Adriaanse | |
no binary change ok deraadt@ | |||
2010-07-20 | Add OpenSSH's timingsafe_bcmp() to libkern. | Matthew Dempsky | |
ok djm@, deraadt@ | |||
2010-05-09 | shuffle an extern around so gcc4 doesn't whinge about incomplete types | Jonathan Gray | |
as suggested by miod. ok miod@ | |||
2010-04-20 | destintation -> destination | Miod Vallat | |
2010-04-01 | Allow for multiple CPUs by moving to an array of cpu_info. | Joel Sing | |
ok kettenis@ | |||
2009-12-12 | Provide a correct version for little endian kernels... sigh | Miod Vallat | |
2009-11-30 | Allow the bootblocks to provide an optional Elfxx_Phdr check, and abort the | Miod Vallat | |
file load if necessary. Will be used very shortly. | |||
2009-11-07 | remove gcc 1 workaround we no longer care about which | Jonathan Gray | |
was breaking non GNUC defining compilers. Came up during a conversation with ragge@, positive comments from several. | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms |