1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/sun4v
Marius Strobl a1610d83b8 In the replacement text of the __bswapN_const() macros encapsulate the
argument in parentheses so these macros are safe to use and invocations
with an expression as the argument like __bswap32_const(42 << 23 | 13)
work as expected. Additionally, mask all the individually shifted bytes
as appropriate so the bytes which exceed the width of the respective
__bswapN_const() macro in invocations like __bswap16_const(0xdead600d)
are ignored like it's the case with the corresponding __bswapN_var()
function.

MFC after:	3 days
2006-10-30 21:50:11 +00:00
..
compile
conf Add 'options KSE' to the kernel config DEFAULTS on all arches/machines 2006-10-26 22:05:25 +00:00
include In the replacement text of the __bswapN_const() macros encapsulate the 2006-10-30 21:50:11 +00:00
mdesc
sun4v Make KSE a kernel option, turned on by default in all GENERIC 2006-10-26 21:42:22 +00:00