1 1.1 cherry /* 2 1.1 cherry * arch-x86/cpufeatureset.h 3 1.1 cherry * 4 1.1 cherry * CPU featureset definitions 5 1.1 cherry * 6 1.1 cherry * Permission is hereby granted, free of charge, to any person obtaining a copy 7 1.1 cherry * of this software and associated documentation files (the "Software"), to 8 1.1 cherry * deal in the Software without restriction, including without limitation the 9 1.1 cherry * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 10 1.1 cherry * sell copies of the Software, and to permit persons to whom the Software is 11 1.1 cherry * furnished to do so, subject to the following conditions: 12 1.1 cherry * 13 1.1 cherry * The above copyright notice and this permission notice shall be included in 14 1.1 cherry * all copies or substantial portions of the Software. 15 1.1 cherry * 16 1.1 cherry * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 1.1 cherry * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 1.1 cherry * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 1.1 cherry * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 1.1 cherry * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 1.1 cherry * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 1.1 cherry * DEALINGS IN THE SOFTWARE. 23 1.1 cherry * 24 1.1 cherry * Copyright (c) 2015, 2016 Citrix Systems, Inc. 25 1.1 cherry */ 26 1.1 cherry 27 1.1 cherry /* 28 1.1 cherry * There are two expected ways of including this header. 29 1.1 cherry * 30 1.1 cherry * 1) The "default" case (expected from tools etc). 31 1.1 cherry * 32 1.1 cherry * Simply #include <public/arch-x86/cpufeatureset.h> 33 1.1 cherry * 34 1.1 cherry * In this circumstance, normal header guards apply and the includer shall get 35 1.1 cherry * an enumeration in the XEN_X86_FEATURE_xxx namespace. 36 1.1 cherry * 37 1.1 cherry * 2) The special case where the includer provides XEN_CPUFEATURE() in scope. 38 1.1 cherry * 39 1.1 cherry * In this case, no inclusion guards apply and the caller is responsible for 40 1.1 cherry * their XEN_CPUFEATURE() being appropriate in the included context. 41 1.1 cherry */ 42 1.1 cherry 43 1.1 cherry #ifndef XEN_CPUFEATURE 44 1.1 cherry 45 1.1 cherry /* 46 1.1 cherry * Includer has not provided a custom XEN_CPUFEATURE(). Arrange for normal 47 1.1 cherry * header guards, an enum and constants in the XEN_X86_FEATURE_xxx namespace. 48 1.1 cherry */ 49 1.1 cherry #ifndef __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ 50 1.1 cherry #define __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ 51 1.1 cherry 52 1.1 cherry #define XEN_CPUFEATURESET_DEFAULT_INCLUDE 53 1.1 cherry 54 1.1 cherry #define XEN_CPUFEATURE(name, value) XEN_X86_FEATURE_##name = value, 55 1.1 cherry enum { 56 1.1 cherry 57 1.1 cherry #endif /* __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ */ 58 1.1 cherry #endif /* !XEN_CPUFEATURE */ 59 1.1 cherry 60 1.1 cherry 61 1.1 cherry #ifdef XEN_CPUFEATURE 62 1.1 cherry /* 63 1.1 cherry * A featureset is a bitmap of x86 features, represented as a collection of 64 1.1 cherry * 32bit words. 65 1.1 cherry * 66 1.1 cherry * Words are as specified in vendors programming manuals, and shall not 67 1.1 cherry * contain any synthesied values. New words may be added to the end of 68 1.1 cherry * featureset. 69 1.1 cherry * 70 1.1 cherry * All featureset words currently originate from leaves specified for the 71 1.1 cherry * CPUID instruction, but this is not preclude other sources of information. 72 1.1 cherry */ 73 1.1 cherry 74 1.1 cherry /* 75 1.1 cherry * Attribute syntax: 76 1.1 cherry * 77 1.1 cherry * Attributes for a particular feature are provided as characters before the 78 1.1 cherry * first space in the comment immediately following the feature value. Note - 79 1.1 cherry * none of these attributes form part of the Xen public ABI. 80 1.1 cherry * 81 1.1 cherry * Special: '!' 82 1.1 cherry * This bit has special properties and is not a straight indication of a 83 1.1 cherry * piece of new functionality. Xen will handle these differently, 84 1.1 cherry * and may override toolstack settings completely. 85 1.1 cherry * 86 1.1 cherry * Applicability to guests: 'A', 'S' or 'H' 87 1.1 cherry * 'A' = All guests. 88 1.1 cherry * 'S' = All HVM guests (not PV guests). 89 1.1 cherry * 'H' = HVM HAP guests (not PV or HVM Shadow guests). 90 1.1 cherry */ 91 1.1 cherry 92 1.1 cherry /* Intel-defined CPU features, CPUID level 0x00000001.edx, word 0 */ 93 1.1 cherry XEN_CPUFEATURE(FPU, 0*32+ 0) /*A Onboard FPU */ 94 1.1 cherry XEN_CPUFEATURE(VME, 0*32+ 1) /*S Virtual Mode Extensions */ 95 1.1 cherry XEN_CPUFEATURE(DE, 0*32+ 2) /*A Debugging Extensions */ 96 1.1 cherry XEN_CPUFEATURE(PSE, 0*32+ 3) /*S Page Size Extensions */ 97 1.1 cherry XEN_CPUFEATURE(TSC, 0*32+ 4) /*A Time Stamp Counter */ 98 1.1 cherry XEN_CPUFEATURE(MSR, 0*32+ 5) /*A Model-Specific Registers, RDMSR, WRMSR */ 99 1.1 cherry XEN_CPUFEATURE(PAE, 0*32+ 6) /*A Physical Address Extensions */ 100 1.1 cherry XEN_CPUFEATURE(MCE, 0*32+ 7) /*A Machine Check Architecture */ 101 1.1 cherry XEN_CPUFEATURE(CX8, 0*32+ 8) /*A CMPXCHG8 instruction */ 102 1.1 cherry XEN_CPUFEATURE(APIC, 0*32+ 9) /*!A Onboard APIC */ 103 1.1 cherry XEN_CPUFEATURE(SEP, 0*32+11) /*A SYSENTER/SYSEXIT */ 104 1.1 cherry XEN_CPUFEATURE(MTRR, 0*32+12) /*S Memory Type Range Registers */ 105 1.1 cherry XEN_CPUFEATURE(PGE, 0*32+13) /*S Page Global Enable */ 106 1.1 cherry XEN_CPUFEATURE(MCA, 0*32+14) /*A Machine Check Architecture */ 107 1.1 cherry XEN_CPUFEATURE(CMOV, 0*32+15) /*A CMOV instruction (FCMOVCC and FCOMI too if FPU present) */ 108 1.1 cherry XEN_CPUFEATURE(PAT, 0*32+16) /*A Page Attribute Table */ 109 1.1 cherry XEN_CPUFEATURE(PSE36, 0*32+17) /*S 36-bit PSEs */ 110 1.1 cherry XEN_CPUFEATURE(CLFLUSH, 0*32+19) /*A CLFLUSH instruction */ 111 1.1 cherry XEN_CPUFEATURE(DS, 0*32+21) /* Debug Store */ 112 1.1 cherry XEN_CPUFEATURE(ACPI, 0*32+22) /*A ACPI via MSR */ 113 1.1 cherry XEN_CPUFEATURE(MMX, 0*32+23) /*A Multimedia Extensions */ 114 1.1 cherry XEN_CPUFEATURE(FXSR, 0*32+24) /*A FXSAVE and FXRSTOR instructions */ 115 1.1 cherry XEN_CPUFEATURE(SSE, 0*32+25) /*A Streaming SIMD Extensions */ 116 1.1 cherry XEN_CPUFEATURE(SSE2, 0*32+26) /*A Streaming SIMD Extensions-2 */ 117 1.1 cherry XEN_CPUFEATURE(SS, 0*32+27) /*A CPU self snoop */ 118 1.1 cherry XEN_CPUFEATURE(HTT, 0*32+28) /*!A Hyper-Threading Technology */ 119 1.1 cherry XEN_CPUFEATURE(TM1, 0*32+29) /* Thermal Monitor 1 */ 120 1.1 cherry XEN_CPUFEATURE(PBE, 0*32+31) /* Pending Break Enable */ 121 1.1 cherry 122 1.1 cherry /* Intel-defined CPU features, CPUID level 0x00000001.ecx, word 1 */ 123 1.1 cherry XEN_CPUFEATURE(SSE3, 1*32+ 0) /*A Streaming SIMD Extensions-3 */ 124 1.1 cherry XEN_CPUFEATURE(PCLMULQDQ, 1*32+ 1) /*A Carry-less mulitplication */ 125 1.1 cherry XEN_CPUFEATURE(DTES64, 1*32+ 2) /* 64-bit Debug Store */ 126 1.1 cherry XEN_CPUFEATURE(MONITOR, 1*32+ 3) /* Monitor/Mwait support */ 127 1.1 cherry XEN_CPUFEATURE(DSCPL, 1*32+ 4) /* CPL Qualified Debug Store */ 128 1.1 cherry XEN_CPUFEATURE(VMX, 1*32+ 5) /*S Virtual Machine Extensions */ 129 1.1 cherry XEN_CPUFEATURE(SMX, 1*32+ 6) /* Safer Mode Extensions */ 130 1.1 cherry XEN_CPUFEATURE(EIST, 1*32+ 7) /* Enhanced SpeedStep */ 131 1.1 cherry XEN_CPUFEATURE(TM2, 1*32+ 8) /* Thermal Monitor 2 */ 132 1.1 cherry XEN_CPUFEATURE(SSSE3, 1*32+ 9) /*A Supplemental Streaming SIMD Extensions-3 */ 133 1.1 cherry XEN_CPUFEATURE(FMA, 1*32+12) /*A Fused Multiply Add */ 134 1.1 cherry XEN_CPUFEATURE(CX16, 1*32+13) /*A CMPXCHG16B */ 135 1.1 cherry XEN_CPUFEATURE(XTPR, 1*32+14) /* Send Task Priority Messages */ 136 1.1 cherry XEN_CPUFEATURE(PDCM, 1*32+15) /* Perf/Debug Capability MSR */ 137 1.1 cherry XEN_CPUFEATURE(PCID, 1*32+17) /*H Process Context ID */ 138 1.1 cherry XEN_CPUFEATURE(DCA, 1*32+18) /* Direct Cache Access */ 139 1.1 cherry XEN_CPUFEATURE(SSE4_1, 1*32+19) /*A Streaming SIMD Extensions 4.1 */ 140 1.1 cherry XEN_CPUFEATURE(SSE4_2, 1*32+20) /*A Streaming SIMD Extensions 4.2 */ 141 1.1 cherry XEN_CPUFEATURE(X2APIC, 1*32+21) /*!A Extended xAPIC */ 142 1.1 cherry XEN_CPUFEATURE(MOVBE, 1*32+22) /*A movbe instruction */ 143 1.1 cherry XEN_CPUFEATURE(POPCNT, 1*32+23) /*A POPCNT instruction */ 144 1.1 cherry XEN_CPUFEATURE(TSC_DEADLINE, 1*32+24) /*S TSC Deadline Timer */ 145 1.1 cherry XEN_CPUFEATURE(AESNI, 1*32+25) /*A AES instructions */ 146 1.1 cherry XEN_CPUFEATURE(XSAVE, 1*32+26) /*A XSAVE/XRSTOR/XSETBV/XGETBV */ 147 1.1 cherry XEN_CPUFEATURE(OSXSAVE, 1*32+27) /*! OSXSAVE */ 148 1.1 cherry XEN_CPUFEATURE(AVX, 1*32+28) /*A Advanced Vector Extensions */ 149 1.1 cherry XEN_CPUFEATURE(F16C, 1*32+29) /*A Half-precision convert instruction */ 150 1.1 cherry XEN_CPUFEATURE(RDRAND, 1*32+30) /*A Digital Random Number Generator */ 151 1.1 cherry XEN_CPUFEATURE(HYPERVISOR, 1*32+31) /*!A Running under some hypervisor */ 152 1.1 cherry 153 1.1 cherry /* AMD-defined CPU features, CPUID level 0x80000001.edx, word 2 */ 154 1.1 cherry XEN_CPUFEATURE(SYSCALL, 2*32+11) /*A SYSCALL/SYSRET */ 155 1.1 cherry XEN_CPUFEATURE(NX, 2*32+20) /*A Execute Disable */ 156 1.1 cherry XEN_CPUFEATURE(MMXEXT, 2*32+22) /*A AMD MMX extensions */ 157 1.1 cherry XEN_CPUFEATURE(FFXSR, 2*32+25) /*A FFXSR instruction optimizations */ 158 1.1 cherry XEN_CPUFEATURE(PAGE1GB, 2*32+26) /*H 1Gb large page support */ 159 1.1 cherry XEN_CPUFEATURE(RDTSCP, 2*32+27) /*S RDTSCP */ 160 1.1 cherry XEN_CPUFEATURE(LM, 2*32+29) /*A Long Mode (x86-64) */ 161 1.1 cherry XEN_CPUFEATURE(3DNOWEXT, 2*32+30) /*A AMD 3DNow! extensions */ 162 1.1 cherry XEN_CPUFEATURE(3DNOW, 2*32+31) /*A 3DNow! */ 163 1.1 cherry 164 1.1 cherry /* AMD-defined CPU features, CPUID level 0x80000001.ecx, word 3 */ 165 1.1 cherry XEN_CPUFEATURE(LAHF_LM, 3*32+ 0) /*A LAHF/SAHF in long mode */ 166 1.1 cherry XEN_CPUFEATURE(CMP_LEGACY, 3*32+ 1) /*!A If yes HyperThreading not valid */ 167 1.1 cherry XEN_CPUFEATURE(SVM, 3*32+ 2) /*S Secure virtual machine */ 168 1.1 cherry XEN_CPUFEATURE(EXTAPIC, 3*32+ 3) /* Extended APIC space */ 169 1.1 cherry XEN_CPUFEATURE(CR8_LEGACY, 3*32+ 4) /*S CR8 in 32-bit mode */ 170 1.1 cherry XEN_CPUFEATURE(ABM, 3*32+ 5) /*A Advanced bit manipulation */ 171 1.1 cherry XEN_CPUFEATURE(SSE4A, 3*32+ 6) /*A SSE-4A */ 172 1.1 cherry XEN_CPUFEATURE(MISALIGNSSE, 3*32+ 7) /*A Misaligned SSE mode */ 173 1.1 cherry XEN_CPUFEATURE(3DNOWPREFETCH, 3*32+ 8) /*A 3DNow prefetch instructions */ 174 1.1 cherry XEN_CPUFEATURE(OSVW, 3*32+ 9) /* OS Visible Workaround */ 175 1.1 cherry XEN_CPUFEATURE(IBS, 3*32+10) /* Instruction Based Sampling */ 176 1.1 cherry XEN_CPUFEATURE(XOP, 3*32+11) /*A extended AVX instructions */ 177 1.1 cherry XEN_CPUFEATURE(SKINIT, 3*32+12) /* SKINIT/STGI instructions */ 178 1.1 cherry XEN_CPUFEATURE(WDT, 3*32+13) /* Watchdog timer */ 179 1.1 cherry XEN_CPUFEATURE(LWP, 3*32+15) /*S Light Weight Profiling */ 180 1.1 cherry XEN_CPUFEATURE(FMA4, 3*32+16) /*A 4 operands MAC instructions */ 181 1.1 cherry XEN_CPUFEATURE(NODEID_MSR, 3*32+19) /* NodeId MSR */ 182 1.1 cherry XEN_CPUFEATURE(TBM, 3*32+21) /*A trailing bit manipulations */ 183 1.1 cherry XEN_CPUFEATURE(TOPOEXT, 3*32+22) /* topology extensions CPUID leafs */ 184 1.1 cherry XEN_CPUFEATURE(DBEXT, 3*32+26) /*A data breakpoint extension */ 185 1.1 cherry XEN_CPUFEATURE(MONITORX, 3*32+29) /* MONITOR extension (MONITORX/MWAITX) */ 186 1.1 cherry 187 1.1 cherry /* Intel-defined CPU features, CPUID level 0x0000000D:1.eax, word 4 */ 188 1.1 cherry XEN_CPUFEATURE(XSAVEOPT, 4*32+ 0) /*A XSAVEOPT instruction */ 189 1.1 cherry XEN_CPUFEATURE(XSAVEC, 4*32+ 1) /*A XSAVEC/XRSTORC instructions */ 190 1.1 cherry XEN_CPUFEATURE(XGETBV1, 4*32+ 2) /*A XGETBV with %ecx=1 */ 191 1.1 cherry XEN_CPUFEATURE(XSAVES, 4*32+ 3) /*S XSAVES/XRSTORS instructions */ 192 1.1 cherry 193 1.1 cherry /* Intel-defined CPU features, CPUID level 0x00000007:0.ebx, word 5 */ 194 1.1 cherry XEN_CPUFEATURE(FSGSBASE, 5*32+ 0) /*A {RD,WR}{FS,GS}BASE instructions */ 195 1.1 cherry XEN_CPUFEATURE(TSC_ADJUST, 5*32+ 1) /*S TSC_ADJUST MSR available */ 196 1.1 cherry XEN_CPUFEATURE(SGX, 5*32+ 2) /* Software Guard extensions */ 197 1.1 cherry XEN_CPUFEATURE(BMI1, 5*32+ 3) /*A 1st bit manipulation extensions */ 198 1.1 cherry XEN_CPUFEATURE(HLE, 5*32+ 4) /*A Hardware Lock Elision */ 199 1.1 cherry XEN_CPUFEATURE(AVX2, 5*32+ 5) /*A AVX2 instructions */ 200 1.1 cherry XEN_CPUFEATURE(FDP_EXCP_ONLY, 5*32+ 6) /*! x87 FDP only updated on exception. */ 201 1.1 cherry XEN_CPUFEATURE(SMEP, 5*32+ 7) /*S Supervisor Mode Execution Protection */ 202 1.1 cherry XEN_CPUFEATURE(BMI2, 5*32+ 8) /*A 2nd bit manipulation extensions */ 203 1.1 cherry XEN_CPUFEATURE(ERMS, 5*32+ 9) /*A Enhanced REP MOVSB/STOSB */ 204 1.1 cherry XEN_CPUFEATURE(INVPCID, 5*32+10) /*H Invalidate Process Context ID */ 205 1.1 cherry XEN_CPUFEATURE(RTM, 5*32+11) /*A Restricted Transactional Memory */ 206 1.1 cherry XEN_CPUFEATURE(PQM, 5*32+12) /* Platform QoS Monitoring */ 207 1.1 cherry XEN_CPUFEATURE(NO_FPU_SEL, 5*32+13) /*! FPU CS/DS stored as zero */ 208 1.1 cherry XEN_CPUFEATURE(MPX, 5*32+14) /*S Memory Protection Extensions */ 209 1.1 cherry XEN_CPUFEATURE(PQE, 5*32+15) /* Platform QoS Enforcement */ 210 1.1 cherry XEN_CPUFEATURE(AVX512F, 5*32+16) /*A AVX-512 Foundation Instructions */ 211 1.1 cherry XEN_CPUFEATURE(AVX512DQ, 5*32+17) /*A AVX-512 Doubleword & Quadword Instrs */ 212 1.1 cherry XEN_CPUFEATURE(RDSEED, 5*32+18) /*A RDSEED instruction */ 213 1.1 cherry XEN_CPUFEATURE(ADX, 5*32+19) /*A ADCX, ADOX instructions */ 214 1.1 cherry XEN_CPUFEATURE(SMAP, 5*32+20) /*S Supervisor Mode Access Prevention */ 215 1.1 cherry XEN_CPUFEATURE(AVX512IFMA, 5*32+21) /*A AVX-512 Integer Fused Multiply Add */ 216 1.1 cherry XEN_CPUFEATURE(CLFLUSHOPT, 5*32+23) /*A CLFLUSHOPT instruction */ 217 1.1 cherry XEN_CPUFEATURE(CLWB, 5*32+24) /*A CLWB instruction */ 218 1.1 cherry XEN_CPUFEATURE(AVX512PF, 5*32+26) /*A AVX-512 Prefetch Instructions */ 219 1.1 cherry XEN_CPUFEATURE(AVX512ER, 5*32+27) /*A AVX-512 Exponent & Reciprocal Instrs */ 220 1.1 cherry XEN_CPUFEATURE(AVX512CD, 5*32+28) /*A AVX-512 Conflict Detection Instrs */ 221 1.1 cherry XEN_CPUFEATURE(SHA, 5*32+29) /*A SHA1 & SHA256 instructions */ 222 1.1 cherry XEN_CPUFEATURE(AVX512BW, 5*32+30) /*A AVX-512 Byte and Word Instructions */ 223 1.1 cherry XEN_CPUFEATURE(AVX512VL, 5*32+31) /*A AVX-512 Vector Length Extensions */ 224 1.1 cherry 225 1.1 cherry /* Intel-defined CPU features, CPUID level 0x00000007:0.ecx, word 6 */ 226 1.1 cherry XEN_CPUFEATURE(PREFETCHWT1, 6*32+ 0) /*A PREFETCHWT1 instruction */ 227 1.1 cherry XEN_CPUFEATURE(AVX512VBMI, 6*32+ 1) /*A AVX-512 Vector Byte Manipulation Instrs */ 228 1.1 cherry XEN_CPUFEATURE(UMIP, 6*32+ 2) /*S User Mode Instruction Prevention */ 229 1.1 cherry XEN_CPUFEATURE(PKU, 6*32+ 3) /*H Protection Keys for Userspace */ 230 1.1 cherry XEN_CPUFEATURE(OSPKE, 6*32+ 4) /*! OS Protection Keys Enable */ 231 1.1 cherry XEN_CPUFEATURE(AVX512_VPOPCNTDQ, 6*32+14) /*A POPCNT for vectors of DW/QW */ 232 1.1 cherry XEN_CPUFEATURE(RDPID, 6*32+22) /*A RDPID instruction */ 233 1.1 cherry 234 1.1 cherry /* AMD-defined CPU features, CPUID level 0x80000007.edx, word 7 */ 235 1.1 cherry XEN_CPUFEATURE(ITSC, 7*32+ 8) /* Invariant TSC */ 236 1.1 cherry XEN_CPUFEATURE(EFRO, 7*32+10) /* APERF/MPERF Read Only interface */ 237 1.1 cherry 238 1.1 cherry /* AMD-defined CPU features, CPUID level 0x80000008.ebx, word 8 */ 239 1.1 cherry XEN_CPUFEATURE(CLZERO, 8*32+ 0) /*A CLZERO instruction */ 240 1.1 cherry XEN_CPUFEATURE(IBPB, 8*32+12) /*A IBPB support only (no IBRS, used by AMD) */ 241 1.1 cherry 242 1.1 cherry /* Intel-defined CPU features, CPUID level 0x00000007:0.edx, word 9 */ 243 1.1 cherry XEN_CPUFEATURE(AVX512_4VNNIW, 9*32+ 2) /*A AVX512 Neural Network Instructions */ 244 1.1 cherry XEN_CPUFEATURE(AVX512_4FMAPS, 9*32+ 3) /*A AVX512 Multiply Accumulation Single Precision */ 245 1.1 cherry XEN_CPUFEATURE(IBRSB, 9*32+26) /*A IBRS and IBPB support (used by Intel) */ 246 1.1 cherry XEN_CPUFEATURE(STIBP, 9*32+27) /*A STIBP */ 247 1.1 cherry XEN_CPUFEATURE(L1D_FLUSH, 9*32+28) /*S MSR_FLUSH_CMD and L1D flush. */ 248 1.1 cherry XEN_CPUFEATURE(ARCH_CAPS, 9*32+29) /* IA32_ARCH_CAPABILITIES MSR */ 249 1.1 cherry XEN_CPUFEATURE(SSBD, 9*32+31) /*A MSR_SPEC_CTRL.SSBD available */ 250 1.1 cherry 251 1.1 cherry #endif /* XEN_CPUFEATURE */ 252 1.1 cherry 253 1.1 cherry /* Clean up from a default include. Close the enum (for C). */ 254 1.1 cherry #ifdef XEN_CPUFEATURESET_DEFAULT_INCLUDE 255 1.1 cherry #undef XEN_CPUFEATURESET_DEFAULT_INCLUDE 256 1.1 cherry #undef XEN_CPUFEATURE 257 1.1 cherry }; 258 1.1 cherry 259 1.1 cherry #endif /* XEN_CPUFEATURESET_DEFAULT_INCLUDE */ 260 1.1 cherry 261 1.1 cherry /* 262 1.1 cherry * Local variables: 263 1.1 cherry * mode: C 264 1.1 cherry * c-file-style: "BSD" 265 1.1 cherry * c-basic-offset: 4 266 1.1 cherry * tab-width: 4 267 1.1 cherry * indent-tabs-mode: nil 268 1.1 cherry * End: 269 1.1 cherry */ 270