genode/base-linux
Norman Feske 288fd4e56e Add support for allocating DMA memory
This patch extends the RAM session interface with the ability to
allocate DMA buffers. The client specifies the type of RAM dataspace to
allocate via the new 'cached' argument of the 'Ram_session::alloc()'
function. By default, 'cached' is true, which correponds to the common
case and the original behavior. When setting 'cached' to 'false', core
takes the precautions needed to register the memory as uncached in the
page table of each process that has the dataspace attached.

Currently, the support for allocating DMA buffers is implemented for
Fiasco.OC only. On x86 platforms, it is generally not needed. But on
platforms with more relaxed cache coherence (such as ARM), user-level
device drivers should always use uncacheable memory for DMA transactions.
2012-06-20 09:17:48 +02:00
..
etc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
include Add support for allocating DMA memory 2012-06-20 09:17:48 +02:00
lib Unify policy name for Native_capability_tpl. 2012-03-10 15:52:13 +01:00
mk Merge final fixes from internal repositories 2011-12-23 14:04:29 +01:00
run Merge final fixes from internal repositories 2011-12-23 14:04:29 +01:00
src Add support for allocating DMA memory 2012-06-20 09:17:48 +02:00
README Imported Genode release 11.11 2011-12-22 16:19:25 +01:00

This repository contains the Linux-specific implementation of Genode.