Skip to content
Snippets Groups Projects
Commit 7a0c5638 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "linux-ramdump-parser-v2: Fix calculation of TTBR0"

parents 75248fcb bee8897b
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
# Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -81,7 +81,7 @@ class Armv7MMU(MMU):
self.secondary_page_tables = [
[0 for col in range(256)] for row in range(4096)]
msm_ttbr0 = self.ramdump.phys_offset + 0x4000
msm_ttbr0 = self.ramdump.phys_offset + self.ramdump.swapper_pg_dir_addr
self.ttbr = msm_ttbr0
virt_address = 0x0
gb_i = 0
......
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