函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-27 08:55:31
Last Modify:2020-03-16 20:28:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_cpu_address_sizes

函数原型:void get_cpu_address_sizes(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
981  如果Max extended CPUID function supported: 大于等于0x80000008则
982  cpuid(0x80000008, & eax, & ebx, & ecx, & edx)
984  x86_virt_bits等于eax右移8位按位与0xff
985  x86_phys_bits等于eax按位与0xff
988  否则如果cpu_has(c, Physical Address Extensions )或cpu_has(c, 36-bit PSEs )则x86_phys_bits等于36
991  Address space bits used by the cache internally 等于x86_phys_bits
调用者
名称描述
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