aboutsummaryrefslogtreecommitdiff
path: root/include/aarch64/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aarch64/arch.h')
-rw-r--r--include/aarch64/arch.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/aarch64/arch.h b/include/aarch64/arch.h
index 143dc6c..4548926 100644
--- a/include/aarch64/arch.h
+++ b/include/aarch64/arch.h
@@ -71,6 +71,16 @@
#define CPUECTLR_EL1 S3_1_C15_C2_1
/*******************************************************************************
+ * Generic timer memory mapped registers & offsets
+ ******************************************************************************/
+#define CNTCR_OFF 0x000
+#define CNTFID_OFF 0x020
+
+#define CNTCR_EN (1 << 0)
+#define CNTCR_HDBG (1 << 1)
+#define CNTCR_FCREQ(x) (1 << (8 + (x)))
+
+/*******************************************************************************
* System register bit definitions
******************************************************************************/
/* CLIDR definitions */