tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
lib
/
libkern
/
at
jcs
1 folder
70 files
arch
Put table of constant function pointers into .rodata.
8 months ago
adddi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
anddi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
ashldi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
ashrdi3.c
add aliases for arm eabi long long shift functions
5 years ago
bcmp.c
bcmp(3) tries to return length, which is a size_t, as an int. Instead, just return 1 if there is a difference, else 0. Fixed by ray@ in 2008 but the libkern version was not synced. OK deraadt@
2 years ago
bcopy.c
In preparation of compiling our kernels with -ffreestanding, explicitly map a few performance-critical functions to compiler builtins. Since the builtins supported by gcc3, gcc4 and clang are not the same, there are (unfortunately) some compiler checks to make sure we only do the mapping for builtins that are actually supported by the compiler.
9 years ago
bzero.c
In preparation of compiling our kernels with -ffreestanding, explicitly map a few performance-critical functions to compiler builtins. Since the builtins supported by gcc3, gcc4 and clang are not the same, there are (unfortunately) some compiler checks to make sure we only do the mapping for builtins that are actually supported by the compiler.
9 years ago
cmpdi2.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
crc16.h
Add CRC-16 implementation. From NetBSD.
4 years ago
crc32c.h
Add a driver for USB4 controllers. For now this driver doesn't actually implements any USB4 support apart from putting the controller to sleep during suspend. This is necessary on modern laptops with AMD CPUs to reach the appropriate low power idle states during S0ix suspend.
5 months ago
crt_glue.h
Move compiler_rt type definitions to a separate header
5 years ago
ctzdi2.c
add __ctzdi2 to sparc64 kernel
3 years ago
divdi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
explicit_bzero.c
Protect explicit_bzero() from link-time optimization
11 years ago
ffs.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
fls.c
add fls/flsl functions to find the last bit set in a value from FreeBSD ok mikeb@ haesbaert@ deraadt@
12 years ago
flsl.c
add fls/flsl functions to find the last bit set in a value from FreeBSD ok mikeb@ haesbaert@ deraadt@
12 years ago
funcs.h
add bounded attribute to some functions. anil tested and ok'ed
22 years ago
getsn.c
use size_t for the size of buffers and strings, not int.
8 years ago
imax.c
ansi and some missing protos
21 years ago
imin.c
ansi and some missing protos
21 years ago
iordi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
libkern.h
add strnstr(9) string search within character limit
2 years ago
lmax.c
ansi and some missing protos
21 years ago
lmin.c
ansi and some missing protos
21 years ago
lshldi3.c
add aliases for arm eabi long long shift functions
5 years ago
lshrdi3.c
add aliases for arm eabi long long shift functions
5 years ago
lshrti3.c
Move compiler_rt type definitions to a separate header
5 years ago
max.c
ansi and some missing protos
21 years ago
mcount.c
This thread-aware profiling support diff comes from Yuichiro NAITO. At runtime, profiling data is stored per-thread. Upon termination, the per-thread profiling data pools are merged into a into a single record, which is then written out (using the new kernel-assisted system). I think the original gmon merging parts may have come from or been inspired by someone at NetBSD. This has been delayed because there were concerns about adding a TLS object which would require other library cranks, so this rides all the major cranks today. ok kettenis tb claudio sthen etc etc etc
8 months ago
memchr.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
memcmp.c
In preparation of compiling our kernels with -ffreestanding, explicitly map a few performance-critical functions to compiler builtins. Since the builtins supported by gcc3, gcc4 and clang are not the same, there are (unfortunately) some compiler checks to make sure we only do the mapping for builtins that are actually supported by the compiler.
9 years ago
memcpy.c
deregister
4 years ago
memmove.c
deregister
4 years ago
memset.c
In preparation of compiling our kernels with -ffreestanding, explicitly map a few performance-critical functions to compiler builtins. Since the builtins supported by gcc3, gcc4 and clang are not the same, there are (unfortunately) some compiler checks to make sure we only do the mapping for builtins that are actually supported by the compiler.
9 years ago
milieu.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
min.c
ansi and some missing protos
21 years ago
moddi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
muldi3.c
ansi
5 years ago
multi3.c
Add __multi3 from compiler_rt-8.x
5 years ago
negdi2.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
notdi2.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
qdivrem.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
quad.h
mop up #ifdef _KERNEL goo; ok miod
12 years ago
random.c
If you use sys/param.h, you don't need sys/types.h
8 years ago
scanc.c
ansi and some missing protos
21 years ago
skpc.c
ansi and some missing protos
21 years ago
softfloat-macros.h
Override SoftFloat's countLeadingZeros32() with a faster, ff1-based, version on m88k.
18 years ago
softfloat-specialize.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
softfloat.c
Make normalizeRoundAndPackFloat{32,64} non-static; they will be used outside of softfloat.c shortly.
11 years ago
softfloat.h
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strchr.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strcmp.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strlcat.c
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
strlcpy.c
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
strlen.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strncasecmp.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strncmp.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strncpy.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
strnlen.c
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
strnstr.c
add strnstr(9) string search within character limit
2 years ago
strrchr.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
subdi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
timingsafe_bcmp.c
mop up #ifdef _KERNEL goo; ok miod
12 years ago
ucmpdi2.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
udivdi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
ulmax.c
ansi and some missing protos
21 years ago
ulmin.c
ansi and some missing protos
21 years ago
umoddi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago
xordi3.c
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
16 years ago