Skip to content
Snippets Groups Projects
Commit e3bb1dee authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ldrpv2: cachedumlib: Correct the L1 ICache dump format for A53" into...

Merge "ldrpv2: cachedumlib: Correct the L1 ICache dump format for A53" into opensource-tools.lnx.1.0-dev.1.0
parents dfbbf22f 643ee35d
No related branches found
No related tags found
No related merge requests found
......@@ -231,16 +231,16 @@ class L1_ICache_A53(CacheDumpType_v1):
self.unsupported_header_offset = 0
self.TagSize = 2
self.LineSize = 16
self.NumSets = 0x80
self.NumSets = 0x100
self.NumWays = 2
def parse_tag_fn(self, output, data, nset, nway):
if self.TagSize != 2:
raise Exception('cache tag size mismatch')
valid = (data[0] >> 1) & 0x1
n = (data[0] >> 0) & 0x1
addr = (data[0] >> 0) & 0xffffffff
valid = (data[0] >> 29) & 0x3
n = (data[0] >> 28) & 0x1
addr = (data[0] >> 0) & 0xfffffff
addr = (addr << 12) | (nset << 6)
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