Extended state AMD backwards compatibility updates (XCC)
[akaros.git] / kern / arch / x86 / ros / cpu_feat.h
index cffa14c..c6faf31 100644 (file)
 
 #pragma once
 
-#define CPU_FEAT_X86_XSAVEOPT                  (__CPU_FEAT_ARCH_START + 0)
-#define CPU_FEAT_X86_FSGSBASE                  (__CPU_FEAT_ARCH_START + 1)
+#define CPU_FEAT_X86_VENDOR_INTEL              (__CPU_FEAT_ARCH_START + 0)
+#define CPU_FEAT_X86_VENDOR_AMD                        (__CPU_FEAT_ARCH_START + 1)
+#define CPU_FEAT_X86_FXSR                              (__CPU_FEAT_ARCH_START + 2)
+#define CPU_FEAT_X86_XSAVE                             (__CPU_FEAT_ARCH_START + 3)
+#define CPU_FEAT_X86_XSAVEOPT                  (__CPU_FEAT_ARCH_START + 4)
+#define CPU_FEAT_X86_FSGSBASE                  (__CPU_FEAT_ARCH_START + 5)
 #define __NR_CPU_FEAT                                  (__CPU_FEAT_ARCH_START + 64)