mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
tests/tcg/xtensa: conditionalize MMU-related tests
Make MMU-related tests conditional on the presence of MMUv2 option. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
c20e10eac8
commit
3db8a95e70
2 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
test_suite mmu
|
test_suite mmu
|
||||||
|
|
||||||
|
#if XCHAL_HAVE_PTP_MMU && !XCHAL_HAVE_SPANNING_WAY
|
||||||
|
|
||||||
.purgem test_init
|
.purgem test_init
|
||||||
|
|
||||||
.macro clean_tlb_way way, page_size, n_entries
|
.macro clean_tlb_way way, page_size, n_entries
|
||||||
|
@ -740,4 +742,6 @@ test cross_page_tb
|
||||||
assert eq, a2, a3
|
assert eq, a2, a3
|
||||||
test_end
|
test_end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
test_suite_end
|
test_suite_end
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
test_suite phys_mem
|
test_suite phys_mem
|
||||||
|
|
||||||
|
#if XCHAL_HAVE_PTP_MMU && !XCHAL_HAVE_SPANNING_WAY
|
||||||
|
|
||||||
.purgem test_init
|
.purgem test_init
|
||||||
|
|
||||||
.macro test_init
|
.macro test_init
|
||||||
|
@ -67,6 +69,8 @@ test write_get_pte_no_phys
|
||||||
assert eq, a2, a3
|
assert eq, a2, a3
|
||||||
test_end
|
test_end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
test inst_fetch_no_phys
|
test inst_fetch_no_phys
|
||||||
set_vector kernel, 2f
|
set_vector kernel, 2f
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue