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
master
1 folder
70 files
arch
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code.
3 years 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
ansi
4 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
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
htonl.c
Replacing <machine/endian.h> with <sys/endian.h> does not imply removing <sys/types.h>. kthxbye
11 years ago
htons.c
Replacing <machine/endian.h> with <sys/endian.h> does not imply removing <sys/types.h>. kthxbye
11 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
Remove non-__STDC__ assert macros from <lib/libkern/libkern.h>. The macros are defined in a part of the header where a C compiler is required. In addition, the macros expand to C code, so it looks unnecessary to define the asserts with traditional cpp in mind.
6 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
spelling
4 years 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
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