summaryrefslogtreecommitdiff
path: root/sys/msdosfs
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-09-12 17:22:46 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-09-12 17:22:46 +0000
commit10ad41a84270756dbaaf9166b79a68afe53db702 (patch)
tree97a0662c73ee6fa31b1e8788a5252f3c347cc441 /sys/msdosfs
parentacc0a766403f952db62eba9265b9edc727889876 (diff)
Bring back the code that cached DMA fragment offset.
It's required to handle mbuf fragments spanning multiple pages. Original commit message said: Memorize the DMA segment's data offset within the page Grant table references don't convey the information about an actual offset of the data within the page, however Xen needs to know it. We (ab)use bus_dma_segment's _ds_boundary member to store it and can get away with not restoring it's original value atm because neither i386 nor amd64 bus_dmamap_unload(9) code needs it.
Diffstat (limited to 'sys/msdosfs')
0 files changed, 0 insertions, 0 deletions