mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 13:48:29 +00:00
find_all_regs: print EL2-only registers
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
ce2038c59c
commit
3bf3613e7d
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ for op1 in range(1 << 3):
|
|||
u.msr((3, op1, CRn, CRm, op2), v, silent=True)
|
||||
except:
|
||||
print(" - READONLY")
|
||||
else:
|
||||
print(" - writable")
|
||||
try:
|
||||
u.mrs((3, op1, CRn, CRm, op2), silent=True, call=p.el1_call)
|
||||
except:
|
||||
print(" - ### EL2 only ###")
|
||||
try:
|
||||
u.mrs((3, op1, CRn, CRm, op2), silent=True, call=p.el0_call)
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue