genode/repos/base-linux
Norman Feske e4f62380d7 base: Pd_session::dma_addr, Pd_session::attach_dma
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
2022-02-15 10:16:52 +01:00
..
etc base: remove SPEC variables of boards (fix #3971) 2021-01-25 13:58:09 +01:00
include/spec/arm_64/trace base-linux: discharge timestamp on AARCH64 2021-05-10 11:17:20 +02:00
lib base-linux: remove residual use of 'which' command 2022-01-19 12:38:11 +01:00
recipes depot: update recipe hashes 2022-01-19 12:38:13 +01:00
run lx_fs: enable watch 2021-06-25 11:41:44 +02:00
src base: Pd_session::dma_addr, Pd_session::attach_dma 2022-02-15 10:16:52 +01:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This repository contains the Linux-specific implementation of Genode.