Home
last modified time | relevance | path

Searched hist:"1761 b09bf42d2842e82c1ac614c23d31c4d4c0dc" (Results 1 – 3 of 3) sorted by relevance

/freebsd/include/
H A Dbyteswap.h1761b09bf42d2842e82c1ac614c23d31c4d4c0dc Sat Jan 21 00:33:37 CET 2023 Warner Losh <imp@FreeBSD.org> byteswap.h: Add a glibc/linux compatible byteswap.h

For endian.h to work instead of sys/endian.h, some software needs
byteswap.h available. It must define {__,}byteswap_{16,32,64}.
Included sys/_endian.h to get an appropriate __byteswap16, etc
and defines the new macros in terms of them. Enhance _endian.h
to allow it to be included from here too.

Sponsored by: Netflix
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D32051
H A DMakefilediff 1761b09bf42d2842e82c1ac614c23d31c4d4c0dc Sat Jan 21 00:33:37 CET 2023 Warner Losh <imp@FreeBSD.org> byteswap.h: Add a glibc/linux compatible byteswap.h

For endian.h to work instead of sys/endian.h, some software needs
byteswap.h available. It must define {__,}byteswap_{16,32,64}.
Included sys/_endian.h to get an appropriate __byteswap16, etc
and defines the new macros in terms of them. Enhance _endian.h
to allow it to be included from here too.

Sponsored by: Netflix
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D32051
/freebsd/sys/sys/
H A D_endian.hdiff 1761b09bf42d2842e82c1ac614c23d31c4d4c0dc Sat Jan 21 00:33:37 CET 2023 Warner Losh <imp@FreeBSD.org> byteswap.h: Add a glibc/linux compatible byteswap.h

For endian.h to work instead of sys/endian.h, some software needs
byteswap.h available. It must define {__,}byteswap_{16,32,64}.
Included sys/_endian.h to get an appropriate __byteswap16, etc
and defines the new macros in terms of them. Enhance _endian.h
to allow it to be included from here too.

Sponsored by: Netflix
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D32051