mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
Allocate DMA buffer for block packet stream
By allocating the packet-stream dataspace for block sessions as uncached, we can use DMA to directly read and write into the client buffer. Currently, the OMAP4 SD-card driver is using this feature.
This commit is contained in:
parent
0f6110ea97
commit
7e0a1cc0eb
@ -189,7 +189,7 @@ namespace Block {
|
||||
}
|
||||
|
||||
return new (md_alloc())
|
||||
Session_component(env()->ram_session()->alloc(tx_buf_size),
|
||||
Session_component(env()->ram_session()->alloc(tx_buf_size, false),
|
||||
_driver_factory, _ep);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user