mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 15:18:09 +00:00
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>
15 lines
294 B
Bash
Executable File
15 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Script to update console related tests from source
|
|
#
|
|
|
|
for i in sc illegal decrementer xics privileged mmu ; do
|
|
cd $i
|
|
make
|
|
cd -
|
|
cp $i/$i.bin test_$i.bin
|
|
ln -s test_$i.bin main_ram.bin
|
|
../core_tb > /dev/null 2> test_$i.console_out
|
|
rm main_ram.bin
|
|
done
|