thermosphere: add breakpoint/watchpoint enable/reset code

This commit is contained in:
TuxSH
2019-08-05 23:49:25 +02:00
parent a3da478089
commit 3649b94b5d
10 changed files with 157 additions and 5 deletions

View File

@@ -403,6 +403,7 @@
#define MDCR_EL2_TPMCR BITL(5)
#define MDCR_EL2_HPMN_MASK 0x1Full
#define MDSCR_EL1_MDE BITL(15)
#define MDSCR_EL1_SS BITL(0)
#define ENCODE_SYSREG_FIELDS_MOV(op0, op1, crn, crm, op2) (((op0) << 19) | ((op1) << 16) | ((crn) << 12) | ((crm) << 8) | ((op2) << 5))