oaknut: Add common system registers
This commit is contained in:
parent
c2ff75e29c
commit
ba00b3586c
1 changed files with 9 additions and 0 deletions
|
@ -85,6 +85,15 @@ enum class PstateField {
|
|||
};
|
||||
|
||||
enum class SystemReg {
|
||||
CNTFRQ_EL0 = 0b11'011'1110'0000'000,
|
||||
CNTPCT_EL0 = 0b11'011'1110'0000'001,
|
||||
CTR_EL0 = 0b11'011'0000'0000'001,
|
||||
DCZID_EL0 = 0b11'011'0000'0000'111,
|
||||
FPCR = 0b11'011'0100'0100'000,
|
||||
FPSR = 0b11'011'0100'0100'001,
|
||||
NZCV = 0b11'011'0100'0010'000,
|
||||
TPIDR_EL0 = 0b11'011'1101'0000'010,
|
||||
TPIDRRO_EL0 = 0b11'011'1101'0000'011,
|
||||
};
|
||||
|
||||
enum class AtOp {
|
||||
|
|
Loading…
Reference in a new issue