Searched refs:cpu_has (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/com32/gpllib/ |
D | cpuid.c | 364 if (cpu_has(c, X86_FEATURE_CLFLSH)) in generic_identify() 493 cpu->flags.fpu = cpu_has(c, X86_FEATURE_FPU); in set_cpu_flags() 494 cpu->flags.vme = cpu_has(c, X86_FEATURE_VME); in set_cpu_flags() 495 cpu->flags.de = cpu_has(c, X86_FEATURE_DE); in set_cpu_flags() 496 cpu->flags.pse = cpu_has(c, X86_FEATURE_PSE); in set_cpu_flags() 497 cpu->flags.tsc = cpu_has(c, X86_FEATURE_TSC); in set_cpu_flags() 498 cpu->flags.msr = cpu_has(c, X86_FEATURE_MSR); in set_cpu_flags() 499 cpu->flags.pae = cpu_has(c, X86_FEATURE_PAE); in set_cpu_flags() 500 cpu->flags.mce = cpu_has(c, X86_FEATURE_MCE); in set_cpu_flags() 501 cpu->flags.cx8 = cpu_has(c, X86_FEATURE_CX8); in set_cpu_flags() [all …]
|
/external/syslinux/com32/gplinclude/ |
D | cpuid.h | 193 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability) macro
|