Now
MAIN commitmail json YAML
src/sys/arch/amd64/include/param.h@1.31
/
diff
/
nxr@1.31
src/sys/arch/i386/include/param.h@1.85 / diff / nxr@1.85
src/sys/sys/param.h@1.610 / diff / nxr@1.610
src/sys/arch/i386/include/param.h@1.85 / diff / nxr@1.85
src/sys/sys/param.h@1.610 / diff / nxr@1.610
New macro ALIGNED_POINTER_LOAD.
To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly. This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.
To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly. This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.