mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
e4f62380d7
This patch enhances the PD-session interface with the support needed for user-level device drivers performing DMA. Both RPC functions are intended for the direct use by the platform driver only. If invoked for PDs that lack the managing-system role, the operations have no effect. The 'dma_addr()' RPC function allows the platform driver to request the DMA address of a given RAM dataspace. It is meant to replace the 'Dataspace::phys_addr' RPC function. The 'attach_dma' RPC function adds the given dataspace to the device PD's I/O page table. It replaces the former heuristics of marking DMA buffers as uncached RAM on x86. With this patch, the UNCACHED attribute of RAM dataspaces is no longer used to distinguish DMA buffers from regular RAM dataspaces. Issue #2243 |
||
---|---|---|
.. | ||
etc | ||
include/spec/arm_64/trace | ||
lib | ||
recipes | ||
run | ||
src | ||
README |
This repository contains the Linux-specific implementation of Genode.