From e442e7b85f51030e98bec47d9210062a42d70c4d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 4 Mar 2021 17:47:21 +0000 Subject: [PATCH] add cached pgtbl0/3 --- src/soc/decoder/isa/caller.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index 0664591c..99ea6975 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -82,6 +82,12 @@ class RADIX: self.mem = mem self.caller = caller + # cached page table stuff + self.pgtbl0 = 0 + self.pt0_valid = False + self.pgtbl3 = 0 + self.pt3_valid = False + def ld(self, address, width=8, swap=True, check_in_mem=False): print("RADIX: ld from addr 0x{:x} width {:d}".format(address, width)) -- 2.30.2