We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a40ba commit 7d8742bCopy full SHA for 7d8742b
scripts/gdb/linux/mm.py
@@ -47,7 +47,10 @@ def __init__(self):
47
48
self.VA_BITS = constants.LX_CONFIG_ARM64_VA_BITS
49
if self.VA_BITS > 48:
50
- self.VA_BITS_MIN = 48
+ if constants.LX_CONFIG_ARM64_16K_PAGES:
51
+ self.VA_BITS_MIN = 47
52
+ else:
53
+ self.VA_BITS_MIN = 48
54
tcr_el1 = gdb.execute("info registers $TCR_EL1", to_string=True)
55
tcr_el1 = int(tcr_el1.split()[1], 16)
56
self.vabits_actual = 64 - ((tcr_el1 >> 16) & 63)
0 commit comments