summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ds1687reg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-03-14 10:47:22 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-03-14 10:47:22 +0000
commit2d885fe86ccebb33f3d9e3c029ca1b6cade18f6b (patch)
treecd6175643df2bb53584a3385d297f140a0ecc2aa /sys/dev/ic/ds1687reg.h
parenta8b9d12405176b7cd22cd2eb8edd582212af10e2 (diff)
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 'sys/dev/ic/ds1687reg.h')
0 files changed, 0 insertions, 0 deletions