mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
dde_bsd: use CACHED dma buffers
On x86, DMA buffers are actually always mapped as cached. We should therefore actually ask for a cached buffer in order to avoid confusion. genodelabs/genode#5000
This commit is contained in:
parent
0cf2b1be89
commit
686b9d44f4
@ -46,7 +46,7 @@ class Pci_driver
|
||||
|
||||
Genode::Env & _env;
|
||||
Platform::Connection _pci { _env };
|
||||
Platform::Dma_buffer _buffer { _pci, DMA_SIZE, Genode::UNCACHED };
|
||||
Platform::Dma_buffer _buffer { _pci, DMA_SIZE, Genode::CACHED };
|
||||
Genode::Allocator_avl _alloc;
|
||||
|
||||
struct Device
|
||||
|
Loading…
x
Reference in New Issue
Block a user