[Libre-soc-bugs] [Bug 604] ISACaller simulator needs RADIX MMU support

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Mar 30 20:20:19 BST 2021


--- Comment #26 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
Tobias i do not believe there is a need for self._prtable_lookup().

the code already exists here, at the beginning of walk_tree:

        # get address of root entry
        shift = selectconcat(SelectableInt(0,1), prtbl[58:63]) # TODO verify
        addr_next = self._get_prtable_addr(shift, prtbl, addr, pidr)

the rest of it is not relevant except potentially the pieces which it looks
like the Microwatt team have used for some "communication" such as by setting
RPDS=0 to indicate "disable radix".

                    elsif mbits = 0 then
                        -- Use RPDS = 0 to disable radix tree walks

i do not believe it is necessary to code up a complex _prtable_lookup function.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list