summaryrefslogtreecommitdiff
path: root/etc/etc.hp300
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2013-01-29 01:15:58 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2013-01-29 01:15:58 +0000
commit0ca8a6aa1dbde8c1d492b6a2824b3febe978abb1 (patch)
treefaad3b82dfa800a33f452a4f8eace97bb5ce5504 /etc/etc.hp300
parente7781db457bec7a21a0ce5468cd81e5a7f29aafb (diff)
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 'etc/etc.hp300')
0 files changed, 0 insertions, 0 deletions