genode/repos/os/include/spec
Norman Feske 0339318572 platform_session: cache arg for alloc_dma_buffer
This patch extends the 'Platform_session::alloc_dma_buffer' interface
with a 'Cache' argument that corresponds to the argument accepted by
'Ram_allocator::alloc', which is used by the platform driver under the
hood.

Since the x86 platform driver used to be hardwired to allocate DMA
buffers as UNCACHED, I adjusted all drivers by specifying the UNCACHED
argument. Right now, this is needed as a hint for core to steer the
allocation of I/O page tables. Once we eliminate the need for such hints
(by introducing an explicit 'Region_map::attach_dma' operation), we can
revisit the drivers individually because cached DMA buffers should
generally be fine on the x86 architecture.

Issue #2243
2021-04-20 12:10:57 +02:00
..
arm platform_session: cache arg for alloc_dma_buffer 2021-04-20 12:10:57 +02:00
arm_64 os: add platform driver for i.MX 8M Quad SoC 2020-08-25 11:50:12 +02:00
imx53 os: introduce common platform driver for ARM 2020-05-27 11:56:46 +02:00
rpi rpi_platform_drv: remove placement new operator 2021-03-12 12:01:38 +01:00
x86 platform_session: cache arg for alloc_dma_buffer 2021-04-20 12:10:57 +02:00
x86_32/os Move timer from os to base repository 2019-01-14 12:33:57 +01:00
x86_64/os Move timer from os to base repository 2019-01-14 12:33:57 +01:00