summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr_utils.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-03-14 10:47:21 +0000
committerdlg <dlg@openbsd.org>2014-03-14 10:47:21 +0000
commitbf1745be90c87d01ce698ff0c5d23deb311c3971 (patch)
tree621e8caa1e464b7910c9d5353dc3ef421851f6e8 /lib/libc/asr/asr_utils.c
parent.depend is definitely not *appended* to Makefile. Its rules are also (diff)
downloadwireguard-openbsd-bf1745be90c87d01ce698ff0c5d23deb311c3971.tar.xz
wireguard-openbsd-bf1745be90c87d01ce698ff0c5d23deb311c3971.zip
provide an MI api for doing byteswapping loads and stores. some
archs have instrutions that can do this, and the rest that dont get to use wrappers around the byteswap(3) api. this provides MI backends for sparc64 and powerpc which get a big benefit from this because byteswapping in registers is really hard for them. the intended use case is for reading and writing bits of dma memory handed to and from hardware. discussed with miod@ guenther@ deraadt@ ok miod@ kettenis@
Diffstat (limited to 'lib/libc/asr/asr_utils.c')
0 files changed, 0 insertions, 0 deletions