intel_fb_drv: componentize

Issue #1987
This commit is contained in:
Stefan Kalkowski
2016-06-01 11:32:52 +02:00
committed by Christian Helmuth
parent 1cfa14b2f2
commit 11bead1811
6 changed files with 74 additions and 86 deletions

View File

@ -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); }