mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
parent
b7855cc517
commit
25ad0ad530
@ -21,16 +21,6 @@ namespace Util {
|
|||||||
|
|
||||||
using namespace Genode;
|
using namespace Genode;
|
||||||
|
|
||||||
/*
|
|
||||||
* DMA allocator helper
|
|
||||||
*/
|
|
||||||
struct Dma_allocator : Genode::Interface
|
|
||||||
{
|
|
||||||
virtual Ram_dataspace_capability alloc(size_t) = 0;
|
|
||||||
virtual void free(Ram_dataspace_capability) = 0;
|
|
||||||
virtual addr_t dma_addr(Ram_dataspace_capability) = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extract string from memory
|
* Extract string from memory
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user