Skip to content
Snippets Groups Projects
Commit be6d63c8 authored by Laura Abbott's avatar Laura Abbott
Browse files

linux-ramdump-parser-v2: Set ttbr for LPAE page tables

To generate proper simulator launching scripts, the TTBR needs
to be set in the MMU object. This was missing for LPAE page tables.
Set it.

Change-Id: I236df9db59290e4fe90c1959a9a92b51622c821e
parent a7d3bcd8
No related branches found
No related tags found
No related merge requests found
...@@ -392,6 +392,7 @@ class Armv7LPAEMMU(MMU): ...@@ -392,6 +392,7 @@ class Armv7LPAEMMU(MMU):
pass pass
def page_table_walk(self, virt): def page_table_walk(self, virt):
self.ttbr = self.ramdump.swapper_pg_dir_addr + self.ramdump.phys_offset
info = self.translate(virt) info = self.translate(virt)
return info.phys if info is not None else None return info.phys if info is not None else None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment