Skip to content
Snippets Groups Projects
Commit 2c50ea22 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of opensource-tools.lnx.1.0-00006.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
2020980   Idc2d9dcba1a879461e4470fa9afdb162c50f251b   ldrpv2: cachedumlib: Correct the L1 ICache dump format f

Change-Id: I1861e60264207a55e5803e28892da8d3ff84ea57
CRs-Fixed: 2020980
parents e14af8d6 e3bb1dee
No related branches found
No related tags found
No related merge requests found
...@@ -231,16 +231,16 @@ class L1_ICache_A53(CacheDumpType_v1): ...@@ -231,16 +231,16 @@ class L1_ICache_A53(CacheDumpType_v1):
self.unsupported_header_offset = 0 self.unsupported_header_offset = 0
self.TagSize = 2 self.TagSize = 2
self.LineSize = 16 self.LineSize = 16
self.NumSets = 0x80 self.NumSets = 0x100
self.NumWays = 2 self.NumWays = 2
def parse_tag_fn(self, output, data, nset, nway): def parse_tag_fn(self, output, data, nset, nway):
if self.TagSize != 2: if self.TagSize != 2:
raise Exception('cache tag size mismatch') raise Exception('cache tag size mismatch')
valid = (data[0] >> 1) & 0x1 valid = (data[0] >> 29) & 0x3
n = (data[0] >> 0) & 0x1 n = (data[0] >> 28) & 0x1
addr = (data[0] >> 0) & 0xffffffff addr = (data[0] >> 0) & 0xfffffff
addr = (addr << 12) | (nset << 6) addr = (addr << 12) | (nset << 6)
output.append(valid) output.append(valid)
......
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