aboutsummaryrefslogtreecommitdiffstats
path: root/target/s390x/cpu_features_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/s390x/cpu_features_def.h')
-rw-r--r--target/s390x/cpu_features_def.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/s390x/cpu_features_def.h b/target/s390x/cpu_features_def.h
new file mode 100644
index 000000000..87df31848
--- /dev/null
+++ b/target/s390x/cpu_features_def.h
@@ -0,0 +1,25 @@
+/*
+ * CPU features/facilities for s390
+ *
+ * Copyright IBM Corp. 2016, 2018
+ * Copyright Red Hat, Inc. 2019
+ *
+ * Author(s): Michael Mueller <mimu@linux.vnet.ibm.com>
+ * David Hildenbrand <david@redhat.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
+ * your option) any later version. See the COPYING file in the top-level
+ * directory.
+ */
+
+#ifndef TARGET_S390X_CPU_FEATURES_DEF_H
+#define TARGET_S390X_CPU_FEATURES_DEF_H
+
+#define DEF_FEAT(_FEAT, ...) S390_FEAT_##_FEAT,
+typedef enum {
+ #include "cpu_features_def.h.inc"
+ S390_FEAT_MAX,
+} S390Feat;
+#undef DEF_FEAT
+
+#endif /* TARGET_S390X_CPU_FEATURES_DEF_H */