1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-04 23:35:58 +00:00

tests: Add a test for the MMU radix page table walks

This adds tests to check that the MMU and dTLB are translating
addresses and checking permissions correctly.

We use a simple 2-level radix tree.  The radix tree maps 2GB of
address space and has a 1024-entry page directory pointing to
512-entry page table pages.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras
2020-04-23 15:33:36 +10:00
parent dee3783d79
commit 882a5a0dc0
7 changed files with 607 additions and 1 deletions

BIN
tests/test_mmu.bin Executable file

Binary file not shown.