summaryrefslogtreecommitdiffstats
path: root/src/include/openssl/arm_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/openssl/arm_arch.h')
-rw-r--r--src/include/openssl/arm_arch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/openssl/arm_arch.h b/src/include/openssl/arm_arch.h
index 1471db9..123a890 100644
--- a/src/include/openssl/arm_arch.h
+++ b/src/include/openssl/arm_arch.h
@@ -102,6 +102,15 @@
* will be included. */
#define __ARM_MAX_ARCH__ 8
+#if !__ASSEMBLER__
+
+/* OPENSSL_armcap_P contains flags describing the capabilities of the CPU and
+ * is easy for assembly code to acesss. For C code, see the functions in
+ * |cpu.h|. */
+extern uint32_t OPENSSL_armcap_P;
+
+#endif /* !__ASSEMBLER__ */
+
/* ARMV7_NEON is true when a NEON unit is present in the current CPU. */
#define ARMV7_NEON (1 << 0)