summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-01-29 01:15:57 +0000
committerdlg <dlg@openbsd.org>2013-01-29 01:15:57 +0000
commitaacc3e86042c9eadb8b53e48ec91533b9d60ac7b (patch)
treef76de3470abba00851285df930ff50a51be756db /share/man/man9
parentbig pullup of bge to support the 5718 family of chips including the (diff)
downloadwireguard-openbsd-aacc3e86042c9eadb8b53e48ec91533b9d60ac7b.tar.xz
wireguard-openbsd-aacc3e86042c9eadb8b53e48ec91533b9d60ac7b.zip
the bus_space api implies that there's a bus endianness that it will
swap for you to the hosts endianness. sometimes you dont want this hand holding and just want raw access to the registers. bus_space does have stuff to do this already, but they deal with buffers which can be awkward if you just want to get or set a single register. this adds the following to i386 and amd64: bus_space_read_raw_2() bus_space_read_raw_4() bus_space_read_raw_8() bus_space_write_raw_2() bus_space_write_raw_4() bus_space_write_raw_8() sparc64 already implements this, even though it wasnt part of the official api. how handy. i'll do other archs as i can. kettenis@ and miod@ seem ok with this
Diffstat (limited to 'share/man/man9')
0 files changed, 0 insertions, 0 deletions