From a170cf19a2a2968641a7745ac3c7de4512035872 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 8 Dec 2021 21:32:03 +0000 Subject: [PATCH] add special pagetable to ifetch_invalid with execute perms barred --- src/soc/experiment/test/test_loadstore1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/experiment/test/test_loadstore1.py b/src/soc/experiment/test/test_loadstore1.py index 8074e17f..4e7ee7fe 100644 --- a/src/soc/experiment/test/test_loadstore1.py +++ b/src/soc/experiment/test/test_loadstore1.py @@ -546,7 +546,9 @@ def test_loadstore1_invalid(): def test_loadstore1_ifetch_invalid(): m, cmpi = setup_mmu() - mem = {} + # this is a specially-arranged page table which has the permissions + # barred for execute on the leaf node (EAA=0x2 instead of EAA=0x3) + mem = pagetables.test2 # nmigen Simulation sim = Simulator(m) -- 2.30.2