mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 03:56:42 +00:00
usb_host: fix MMU fault on rpi2 and rpi3
This commit is contained in:
parent
275479867d
commit
332cfb38c1
@ -190,9 +190,9 @@ void backend_alloc_init(Env & env, Ram_allocator&, Allocator&)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache)
|
Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache cache)
|
||||||
{
|
{
|
||||||
return resource_env().platform.alloc_dma_buffer(size, UNCACHED);
|
return resource_env().platform.alloc_dma_buffer(size, cache);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user