diff options
| author | thorpej <thorpej@NetBSD.org> | 2020-03-08 02:42:00 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2020-03-08 02:42:00 +0000 |
| commit | a2c3c26bf080f9f0c3fde8b34a480decaeb1f2d2 (patch) | |
| tree | 9e923dea96ff558a8d4725e386e9a18cff0180bb /sys/dev/microcode/tools | |
| parent | 39563cf7493ff9949e5d5e49da6a0a52a2a6c6e3 (diff) | |
Add BUS_ADDR_{LO,HI}32() macros to correctly extract the lower and
upper halves of 64-bit DMA addresses for 32-bit and 64-bit bus_addr_t.
This is a common pattern in modern drivers, so it's a good idea to provide
a common correct definition.
This particular implementation suggested by riastradh@.
Diffstat (limited to 'sys/dev/microcode/tools')
0 files changed, 0 insertions, 0 deletions
