genode/repos/os/src/drivers/sd_card
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
..
imx platform_session: cache arg for alloc_dma_buffer 2021-04-20 12:10:57 +02:00
imx6 os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
imx8 os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
imx53 os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
pl180 os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
rpi platform_session: cache arg for alloc_dma_buffer 2021-04-20 12:10:57 +02:00
adma2.cc os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
adma2.h os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
benchmark.h os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
driver_base.h block_session: server-defined payload alignment 2019-05-03 13:53:12 +02:00
main.cc os: adjust sd_card_drv to use platform API 2020-11-27 09:19:09 +01:00
sd_card.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
target.inc os: name sd_card_drv unambigously (ref #2190) 2019-05-16 13:11:01 +02:00