diff options
author | 2013-01-29 01:15:57 +0000 | |
---|---|---|
committer | 2013-01-29 01:15:57 +0000 | |
commit | aacc3e86042c9eadb8b53e48ec91533b9d60ac7b (patch) | |
tree | f76de3470abba00851285df930ff50a51be756db /share/man/man9 | |
parent | big pullup of bge to support the 5718 family of chips including the (diff) | |
download | wireguard-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