mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
@@ -113,7 +113,7 @@ class Platform::Connection : public Genode::Connection<Session>,
|
||||
|
||||
Ram_dataspace_capability alloc_dma_buffer(size_t size, Cache cache) override
|
||||
{
|
||||
return retry_with_upgrade(Ram_quota{size}, Cap_quota{2}, [&] () {
|
||||
return retry_with_upgrade(Ram_quota{max((size_t)4096, size)}, Cap_quota{2}, [&] () {
|
||||
return Client::alloc_dma_buffer(size, cache); });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user