oaknut: Add common system registers

This commit is contained in:
Merry 2022-07-23 17:13:15 +01:00 committed by merry
parent c2ff75e29c
commit ba00b3586c

View file

@ -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 {