diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-19 06:07:06 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-19 06:07:06 +0000 |
commit | 1375e5826be3cb497ee95aafbb6177de0f48bda5 (patch) | |
tree | a49e517d026a9f8486518189a79fa73c8364ada4 /usr.bin | |
parent | 8b778e3e285501cf3fe074b5a02dab393ba888bb (diff) |
It turns out that the 2GB contiguous DMA direct map window also needs
to be aligned on a 2GB boundary. Therefore the `add 512MB' bit used on
Octane does not give us a 0.5GB-2.5GB usable DMA range, but a 0.5GB-2GB
range; trying to use address in the 2GB-2.5GB range would cause PCI
DMA errors at the xbridge level.
There is no real benefit in using it, since this required us to keep
subtracting or adding 0.5GB when converting DMA address to physical
memory address or the other way around.
So stop using it; this makes a few parts of the code simpler (and until
bounce buffers are implemented, Octane systems will not use more than
1.5GB of memory).
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions