MMU: Implement a vestigial partition table
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 17 Jun 2021 10:01:32 +0000 (20:01 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 17 Jun 2021 12:19:23 +0000 (22:19 +1000)
commit18120f153d138f733fa7e8a89c3456bb93683f96
tree2676c32f421d3eca29b310bd41edb93807b8b042
parent84473eda1b54a03794b2f3d13748f42b52ead34e
MMU: Implement a vestigial partition table

This implements a 1-entry partition table, so that instead of getting
the process table base address from the PRTBL SPR, the MMU now reads
the doubleword pointed to by the PTCR register plus 8 to get the
process table base address.  The partition table entry is cached.

Having the PTCR and the vestigial partition table reduces the amount
of software change required in Linux for Microwatt support.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
14 files changed:
common.vhdl
decode1.vhdl
loadstore1.vhdl
mmu.vhdl
tests/mmu/mmu.c
tests/modes/modes.c
tests/privileged/privileged.c
tests/reservation/reservation.c
tests/spr_read/spr_read.c
tests/test_mmu.bin
tests/test_modes.bin
tests/test_privileged.bin
tests/test_spr_read.bin
tests/test_spr_read.console_out