Introduce real_addr_t and addr_to_real()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 27 Sep 2021 11:50:57 +0000 (21:50 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 27 Sep 2021 12:04:35 +0000 (22:04 +1000)
commitd745995207b121e6b53a104c9ddfc8b9840693a2
tree2699cbf8259372f27ecb71acbab18226c8c17da1
parent13439c76bae0d0e1cab6049b089396dbeadf1f95
Introduce real_addr_t and addr_to_real()

This moves REAL_ADDR_BITS out of the caches and defines a real_addr_t
type for a real address, along with a addr_to_real() conversion helper.

It makes the vhdl a bit more readable

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
common.vhdl
dcache.vhdl
icache.vhdl