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

Merge "lrdp-v2: Introduce read_s64"

parents 3c19bf7f deb67d8f
No related branches found
No related tags found
Loading
......@@ -1275,6 +1275,11 @@ class RamDump():
s = self.read_string(addr_or_name, '<?', virtual, cpu)
return s[0] if s is not None else None
def read_s64(self, addr_or_name, virtual=True, cpu=None):
"""returns a value guaranteed to be 64 bits"""
s = self.read_string(addr_or_name, '<q', virtual, cpu)
return s[0] if s is not None else None
def read_u64(self, addr_or_name, virtual=True, cpu=None):
"""returns a value guaranteed to be 64 bits"""
s = self.read_string(addr_or_name, '<Q', virtual, cpu)
......
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