diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-07-09 15:15:55 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-07-09 15:15:55 +0000 |
commit | 2b89cdee025d9b3faccd62bc3515d7ed749ae26f (patch) | |
tree | 592449d518d4b2adbb3cb74cb2a8695aad01d149 /sys/src/9/imx8/sysreg.h | |
parent | 29a6cbf7ee601665c7ca204385d96a6c2a3080d8 (diff) |
imx8: set virtual timer offset to zero for all cores
we want CNTVCT_EL0 to be the same on all cores,
so we set the offset the same so it effectively
becomes the system counter.
Diffstat (limited to 'sys/src/9/imx8/sysreg.h')
-rw-r--r-- | sys/src/9/imx8/sysreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/imx8/sysreg.h b/sys/src/9/imx8/sysreg.h index 46dd1c3cd..b9bbc7142 100644 --- a/sys/src/9/imx8/sysreg.h +++ b/sys/src/9/imx8/sysreg.h @@ -38,6 +38,7 @@ #define CNTP_TVAL_EL0 SYSREG(3,3,14,2,0) #define CNTP_CTL_EL0 SYSREG(3,3,14,2,1) #define CNTP_CVAL_EL0 SYSREG(3,3,14,2,2) +#define CNTVOFF_EL2 SYSREG(3,4,14,0,3) #define TPIDR_EL0 SYSREG(3,3,13,0,2) #define TPIDR_EL1 SYSREG(3,0,13,0,4) |