projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d34cf
)
add cached pgtbl0/3
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 4 Mar 2021 17:47:21 +0000
(17:47 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 4 Mar 2021 17:47:21 +0000
(17:47 +0000)
src/soc/decoder/isa/caller.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/isa/caller.py
b/src/soc/decoder/isa/caller.py
index 0664591c8e81b02c4d65b552d6e47d3cc75cd25e..99ea69752b315c2f7de4503a1e0ed53d8eeb1160 100644
(file)
--- 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))