Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:55:14
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_cpu_address_sizes

Proto:void get_cpu_address_sizes(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
981  If Max extended CPUID function supported: >= 0x80000008 Then
982  cpuid(0x80000008, & eax, & ebx, & ecx, & edx)
984  x86_virt_bits = eax >> 8 & 0xff
985  x86_phys_bits = eax & 0xff
988  Else if cpu_has(c, Physical Address Extensions ) || cpu_has(c, 36-bit PSEs ) Then x86_phys_bits = 36
991  Address space bits used by the cache internally = x86_phys_bits
Caller
NameDescribe
early_identify_cpuDo minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code
generic_identify