mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
288fd4e56e
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. |
||
---|---|---|
.. | ||
32bit/base | ||
64bit/base | ||
arm/cpu | ||
base | ||
cap_session | ||
cpu_session | ||
dataspace | ||
drivers | ||
io_mem_session | ||
io_port_session | ||
irq_session | ||
log_session | ||
pager | ||
parent | ||
pd_session | ||
ram_session | ||
rm_session | ||
rom_session | ||
root | ||
session | ||
signal_session | ||
thread | ||
util | ||
x86/cpu | ||
x86_32/cpu | ||
x86_64/cpu | ||
README |
This directory contains include files of interfaces that are exported by components to be used by other components. Each subdirectory corresponds to the component exporting the interface.