CVSROOT: /cvs Module name: src Changes by: na...@cvs.openbsd.org 2018/10/02 15:30:44
Modified files: sys/arch/amd64/include: endian.h sys/arch/arm/include: endian.h sys/arch/i386/include: endian.h sys/arch/sh/include: endian.h Log message: Unify the MD byteswapping code as much as possible across architectures. Use inline functions instead of GNU C statement expressions, and make them available to userland. With clues from guenther@. ok guenther@ kettenis@