summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/armreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/include/armreg.h')
-rw-r--r--sys/arch/arm/include/armreg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h
index 877eaf369c4..7e89418e57e 100644
--- a/sys/arch/arm/include/armreg.h
+++ b/sys/arch/arm/include/armreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: armreg.h,v 1.40 2017/04/24 18:15:16 kettenis Exp $ */
+/* $OpenBSD: armreg.h,v 1.41 2017/04/27 22:41:46 kettenis Exp $ */
/* $NetBSD: armreg.h,v 1.27 2003/09/06 08:43:02 rearnsha Exp $ */
/*
@@ -274,6 +274,12 @@
#define CPU_CT_xSIZE_ASSOC(x) (((x) >> 3) & 0x7) /* associativity */
#define CPU_CT_xSIZE_SIZE(x) (((x) >> 6) & 0x7) /* size */
+/* MPIDR, Multiprocessor Affinity Register */
+#define MPIDR_AFF2 (0xffU << 16)
+#define MPIDR_AFF1 (0xffU << 8)
+#define MPIDR_AFF0 (0xffU << 0)
+#define MPIDR_AFF (MPIDR_AFF2|MPIDR_AFF1|MPIDR_AFF0)
+
/* Fault status register definitions */
#define FAULT_USER 0x20