![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * CPUID-related helpers/definitions 0004 * 0005 * Derived from arch/x86/kvm/cpuid.c 0006 */ 0007 0008 #ifndef _ASM_X86_CPUID_H 0009 #define _ASM_X86_CPUID_H 0010 0011 static __always_inline bool cpuid_function_is_indexed(u32 function) 0012 { 0013 switch (function) { 0014 case 4: 0015 case 7: 0016 case 0xb: 0017 case 0xd: 0018 case 0xf: 0019 case 0x10: 0020 case 0x12: 0021 case 0x14: 0022 case 0x17: 0023 case 0x18: 0024 case 0x1d: 0025 case 0x1e: 0026 case 0x1f: 0027 case 0x8000001d: 0028 return true; 0029 } 0030 0031 return false; 0032 } 0033 0034 #endif /* _ASM_X86_CPUID_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |