函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:squash_the_stupid_serial_number

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
275  如果非cpu_has(c, Processor serial number )或非disable_x86_serial_nr则返回
280  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_BBL_CR_CTL, lo, hi)
281  lo或等于0x200000
282  wrmsr(MSR_IA32_BBL_CR_CTL, lo, hi)
284  打印注释信息("CPU serial number disabled.\n")
285  clear_cpu_cap(c, Processor serial number )
288  Maximum supported CPUID level, -1=no CPUID: 等于CPUID functions returning a single datum
调用者
名称描述
identify_cpuThis does the hard work of actually picking apart the CPU stuff...