mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 01:08:55 +00:00
committed by
Christian Helmuth
parent
1cfa14b2f2
commit
11bead1811
@ -381,3 +381,8 @@ Lx::Malloc &Lx::Malloc::mem() {
|
||||
*/
|
||||
Lx::Malloc &Lx::Malloc::dma() {
|
||||
return Lx_kit::Malloc::dma(); }
|
||||
|
||||
/**
|
||||
* Placement new for Malloc allocator
|
||||
*/
|
||||
void *operator new (Genode::size_t s, Lx::Malloc &a) { return a.alloc(s); }
|
||||
|
Reference in New Issue
Block a user