summaryrefslogtreecommitdiffstats
path: root/include/common/feat_detect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/feat_detect.h')
-rw-r--r--include/common/feat_detect.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/common/feat_detect.h b/include/common/feat_detect.h
new file mode 100644
index 0000000..788dfb3
--- /dev/null
+++ b/include/common/feat_detect.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef FEAT_DETECT_H
+#define FEAT_DETECT_H
+
+/* Function Prototypes */
+void detect_arch_features(void);
+
+/* Macro Definitions */
+#define FEAT_STATE_DISABLED 0
+#define FEAT_STATE_ALWAYS 1
+#define FEAT_STATE_CHECK 2
+
+#endif /* FEAT_DETECT_H */