![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef BOOT_CPUFLAGS_H 0003 #define BOOT_CPUFLAGS_H 0004 0005 #include <asm/cpufeatures.h> 0006 #include <asm/processor-flags.h> 0007 0008 struct cpu_features { 0009 int level; /* Family, or 64 for x86-64 */ 0010 int family; /* Family, always */ 0011 int model; 0012 u32 flags[NCAPINTS]; 0013 }; 0014 0015 extern struct cpu_features cpu; 0016 extern u32 cpu_vendor[3]; 0017 0018 int has_eflag(unsigned long mask); 0019 void get_cpuflags(void); 0020 void cpuid_count(u32 id, u32 count, u32 *a, u32 *b, u32 *c, u32 *d); 0021 0022 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |