]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[riscv] Create coherent DMA mapping of 32-bit address space on demand
authorMichael Brown <mcb30@ipxe.org>
Fri, 11 Jul 2025 11:00:10 +0000 (12:00 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 11 Jul 2025 11:23:51 +0000 (12:23 +0100)
commit2aacb346ca2e5325921871a114ee691880000e47
tree0d4ea61c4c969cada12713cc28e9d4554e42606d
parent0611ddbd1235be79e224e97ac30231801e58deda
[riscv] Create coherent DMA mapping of 32-bit address space on demand

Reuse the code that creates I/O device page mappings to create the
coherent DMA mapping of the 32-bit address space on demand, instead of
constructing this mapping as part of the initial page table.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/core/riscv_dma.c
src/arch/riscv/core/svpage.c
src/arch/riscv/include/ipxe/svpage.h
src/arch/riscv/prefix/libprefix.S