]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[riscv] Create coherent DMA mapping for low 4GB of address space
authorMichael Brown <mcb30@ipxe.org>
Fri, 4 Jul 2025 13:23:37 +0000 (14:23 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 4 Jul 2025 15:10:51 +0000 (16:10 +0100)
commitd75d10df16964f4bf93cbaa083efc8bee313281a
tree37e312ed4cb72dbb1675e63be77d285ef28c6dd9
parent3fd54e4f3a84915470582d93d001e7229783aa06
[riscv] Create coherent DMA mapping for low 4GB of address space

Use PTEs 256-259 to create a mapping of the 32-bit physical address
space with attributes suitable for coherent DMA mappings.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/prefix/libprefix.S