Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\processor.h Create Date:2022-07-28 05:35:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Generic CPUID function* clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx* resulting in stale register contents being returned.

Proto:static inline void cpuid(unsigned int op, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx)

Type:void

Parameter:

TypeParameterName
unsigned intop
unsigned int *eax
unsigned int *ebx
unsigned int *ecx
unsigned int *edx
622  eax = op
623  ecx = 0
624  __cpuid(eax, ebx, ecx, edx)
Caller
NameDescribe
native_calibrate_tscative_calibrate_tsc* Determine TSC frequency via CPUID, else return 0.
cpu_khz_from_cpuid
detect_artIf ART is present detect the numerator:denominator to convert to TSC
amd_cpuid4
init_intel_cacheinfo
get_model_name
cpu_detect_cache_sizes
cpu_detect
get_cpu_cap
get_cpu_address_sizes
early_init_intel
intel_detect_tlb
amd_get_topologyFixup core topology information for* (1) AMD multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) AMD processors supporting compute units
cpuid_eaxCPUID functions returning a single datum
cpuid_ebx
cpuid_ecx
cpuid_edx
hypervisor_cpuid_base