projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e440bd8
)
_walk_tree: access sprs
author
Tobias Platen
<tplaten@posteo.de>
Tue, 9 Mar 2021 16:34:17 +0000
(17:34 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Tue, 9 Mar 2021 16:34:17 +0000
(17:34 +0100)
src/soc/decoder/isa/radixmmu.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/isa/radixmmu.py
b/src/soc/decoder/isa/radixmmu.py
index b8114008cbdb33255e018ed4e57d735bee02c114..93230d6a3b0c88221f9848ccb3568202b1f4171b 100644
(file)
--- a/
src/soc/decoder/isa/radixmmu.py
+++ b/
src/soc/decoder/isa/radixmmu.py
@@
-282,6
+282,15
@@
class RADIX:
// Authority
//
"""
+ # get sprs
+ print("_walk_tree")
+ pidr = self.caller.spr[DEC_SPR.PIDR.value]
+ prtbl = self.caller.spr[DEC_SPR.PRTBL.value]
+ print(pidr)
+ print(prtbl)
+
+ # TODO read root entry from process table first
+
# walk tree starts on prtbl
while True:
ret = self._next_level()