143 lines
4.5 KiB
C
143 lines
4.5 KiB
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
|
||
|
#ifndef _ASM_VERMAGIC_H
|
||
|
#define _ASM_VERMAGIC_H
|
||
|
|
||
|
#ifdef CONFIG_X86_64
|
||
|
/* X86_64 does not define MODULE_PROC_FAMILY */
|
||
|
#elif defined CONFIG_M486SX
|
||
|
#define MODULE_PROC_FAMILY "486SX "
|
||
|
#elif defined CONFIG_M486
|
||
|
#define MODULE_PROC_FAMILY "486 "
|
||
|
#elif defined CONFIG_M586
|
||
|
#define MODULE_PROC_FAMILY "586 "
|
||
|
#elif defined CONFIG_M586TSC
|
||
|
#define MODULE_PROC_FAMILY "586TSC "
|
||
|
#elif defined CONFIG_M586MMX
|
||
|
#define MODULE_PROC_FAMILY "586MMX "
|
||
|
#elif defined CONFIG_MCORE2
|
||
|
#define MODULE_PROC_FAMILY "CORE2 "
|
||
|
#elif defined CONFIG_MNATIVE_INTEL
|
||
|
#define MODULE_PROC_FAMILY "NATIVE_INTEL "
|
||
|
#elif defined CONFIG_MNATIVE_AMD
|
||
|
#define MODULE_PROC_FAMILY "NATIVE_AMD "
|
||
|
#elif defined CONFIG_MNEHALEM
|
||
|
#define MODULE_PROC_FAMILY "NEHALEM "
|
||
|
#elif defined CONFIG_MWESTMERE
|
||
|
#define MODULE_PROC_FAMILY "WESTMERE "
|
||
|
#elif defined CONFIG_MSILVERMONT
|
||
|
#define MODULE_PROC_FAMILY "SILVERMONT "
|
||
|
#elif defined CONFIG_MGOLDMONT
|
||
|
#define MODULE_PROC_FAMILY "GOLDMONT "
|
||
|
#elif defined CONFIG_MGOLDMONTPLUS
|
||
|
#define MODULE_PROC_FAMILY "GOLDMONTPLUS "
|
||
|
#elif defined CONFIG_MSANDYBRIDGE
|
||
|
#define MODULE_PROC_FAMILY "SANDYBRIDGE "
|
||
|
#elif defined CONFIG_MIVYBRIDGE
|
||
|
#define MODULE_PROC_FAMILY "IVYBRIDGE "
|
||
|
#elif defined CONFIG_MHASWELL
|
||
|
#define MODULE_PROC_FAMILY "HASWELL "
|
||
|
#elif defined CONFIG_MBROADWELL
|
||
|
#define MODULE_PROC_FAMILY "BROADWELL "
|
||
|
#elif defined CONFIG_MSKYLAKE
|
||
|
#define MODULE_PROC_FAMILY "SKYLAKE "
|
||
|
#elif defined CONFIG_MSKYLAKEX
|
||
|
#define MODULE_PROC_FAMILY "SKYLAKEX "
|
||
|
#elif defined CONFIG_MCANNONLAKE
|
||
|
#define MODULE_PROC_FAMILY "CANNONLAKE "
|
||
|
#elif defined CONFIG_MICELAKE
|
||
|
#define MODULE_PROC_FAMILY "ICELAKE "
|
||
|
#elif defined CONFIG_MCASCADELAKE
|
||
|
#define MODULE_PROC_FAMILY "CASCADELAKE "
|
||
|
#elif defined CONFIG_MCOOPERLAKE
|
||
|
#define MODULE_PROC_FAMILY "COOPERLAKE "
|
||
|
#elif defined CONFIG_MTIGERLAKE
|
||
|
#define MODULE_PROC_FAMILY "TIGERLAKE "
|
||
|
#elif defined CONFIG_MSAPPHIRERAPIDS
|
||
|
#define MODULE_PROC_FAMILY "SAPPHIRERAPIDS "
|
||
|
#elif defined CONFIG_ROCKETLAKE
|
||
|
#define MODULE_PROC_FAMILY "ROCKETLAKE "
|
||
|
#elif defined CONFIG_MALDERLAKE
|
||
|
#define MODULE_PROC_FAMILY "ALDERLAKE "
|
||
|
#elif defined CONFIG_MRAPTORLAKE
|
||
|
#define MODULE_PROC_FAMILY "RAPTORLAKE "
|
||
|
#elif defined CONFIG_MMETEORLAKE
|
||
|
#define MODULE_PROC_FAMILY "METEORLAKE "
|
||
|
#elif defined CONFIG_MEMERALDRAPIDS
|
||
|
#define MODULE_PROC_FAMILY "EMERALDRAPIDS "
|
||
|
#elif defined CONFIG_MATOM
|
||
|
#define MODULE_PROC_FAMILY "ATOM "
|
||
|
#elif defined CONFIG_M686
|
||
|
#define MODULE_PROC_FAMILY "686 "
|
||
|
#elif defined CONFIG_MPENTIUMII
|
||
|
#define MODULE_PROC_FAMILY "PENTIUMII "
|
||
|
#elif defined CONFIG_MPENTIUMIII
|
||
|
#define MODULE_PROC_FAMILY "PENTIUMIII "
|
||
|
#elif defined CONFIG_MPENTIUMM
|
||
|
#define MODULE_PROC_FAMILY "PENTIUMM "
|
||
|
#elif defined CONFIG_MPENTIUM4
|
||
|
#define MODULE_PROC_FAMILY "PENTIUM4 "
|
||
|
#elif defined CONFIG_MK6
|
||
|
#define MODULE_PROC_FAMILY "K6 "
|
||
|
#elif defined CONFIG_MK7
|
||
|
#define MODULE_PROC_FAMILY "K7 "
|
||
|
#elif defined CONFIG_MK8
|
||
|
#define MODULE_PROC_FAMILY "K8 "
|
||
|
#elif defined CONFIG_MK8SSE3
|
||
|
#define MODULE_PROC_FAMILY "K8SSE3 "
|
||
|
#elif defined CONFIG_MK10
|
||
|
#define MODULE_PROC_FAMILY "K10 "
|
||
|
#elif defined CONFIG_MBARCELONA
|
||
|
#define MODULE_PROC_FAMILY "BARCELONA "
|
||
|
#elif defined CONFIG_MBOBCAT
|
||
|
#define MODULE_PROC_FAMILY "BOBCAT "
|
||
|
#elif defined CONFIG_MBULLDOZER
|
||
|
#define MODULE_PROC_FAMILY "BULLDOZER "
|
||
|
#elif defined CONFIG_MPILEDRIVER
|
||
|
#define MODULE_PROC_FAMILY "PILEDRIVER "
|
||
|
#elif defined CONFIG_MSTEAMROLLER
|
||
|
#define MODULE_PROC_FAMILY "STEAMROLLER "
|
||
|
#elif defined CONFIG_MJAGUAR
|
||
|
#define MODULE_PROC_FAMILY "JAGUAR "
|
||
|
#elif defined CONFIG_MEXCAVATOR
|
||
|
#define MODULE_PROC_FAMILY "EXCAVATOR "
|
||
|
#elif defined CONFIG_MZEN
|
||
|
#define MODULE_PROC_FAMILY "ZEN "
|
||
|
#elif defined CONFIG_MZEN2
|
||
|
#define MODULE_PROC_FAMILY "ZEN2 "
|
||
|
#elif defined CONFIG_MZEN3
|
||
|
#define MODULE_PROC_FAMILY "ZEN3 "
|
||
|
#elif defined CONFIG_MZEN4
|
||
|
#define MODULE_PROC_FAMILY "ZEN4 "
|
||
|
#elif defined CONFIG_MELAN
|
||
|
#define MODULE_PROC_FAMILY "ELAN "
|
||
|
#elif defined CONFIG_MCRUSOE
|
||
|
#define MODULE_PROC_FAMILY "CRUSOE "
|
||
|
#elif defined CONFIG_MEFFICEON
|
||
|
#define MODULE_PROC_FAMILY "EFFICEON "
|
||
|
#elif defined CONFIG_MWINCHIPC6
|
||
|
#define MODULE_PROC_FAMILY "WINCHIPC6 "
|
||
|
#elif defined CONFIG_MWINCHIP3D
|
||
|
#define MODULE_PROC_FAMILY "WINCHIP3D "
|
||
|
#elif defined CONFIG_MCYRIXIII
|
||
|
#define MODULE_PROC_FAMILY "CYRIXIII "
|
||
|
#elif defined CONFIG_MVIAC3_2
|
||
|
#define MODULE_PROC_FAMILY "VIAC3-2 "
|
||
|
#elif defined CONFIG_MVIAC7
|
||
|
#define MODULE_PROC_FAMILY "VIAC7 "
|
||
|
#elif defined CONFIG_MGEODEGX1
|
||
|
#define MODULE_PROC_FAMILY "GEODEGX1 "
|
||
|
#elif defined CONFIG_MGEODE_LX
|
||
|
#define MODULE_PROC_FAMILY "GEODE "
|
||
|
#else
|
||
|
#error unknown processor family
|
||
|
#endif
|
||
|
|
||
|
#ifdef CONFIG_X86_32
|
||
|
# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
|
||
|
#else
|
||
|
# define MODULE_ARCH_VERMAGIC ""
|
||
|
#endif
|
||
|
|
||
|
#endif /* _ASM_VERMAGIC_H */
|