From 7e0a1cc0ebf91e86810c6d7e3f7b2e174d12aed4 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 25 Jul 2012 18:56:51 +0200 Subject: [PATCH] Allocate DMA buffer for block packet stream By allocating the packet-stream dataspace for block sessions as uncached, we can use DMA to directly read and write into the client buffer. Currently, the OMAP4 SD-card driver is using this feature. --- os/include/block/component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/include/block/component.h b/os/include/block/component.h index 80c086147e..bbbefdf799 100644 --- a/os/include/block/component.h +++ b/os/include/block/component.h @@ -189,7 +189,7 @@ namespace Block { } return new (md_alloc()) - Session_component(env()->ram_session()->alloc(tx_buf_size), + Session_component(env()->ram_session()->alloc(tx_buf_size, false), _driver_factory, _ep); }