函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_amd_cacheinfo

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
706  如果boot_cpu_has(Topology extensions CPUID leafs )则
707  num_cache_leaves等于find_num_cache_leaves(c)
708  否则如果Max extended CPUID function supported: 大于等于0x80000006则
709  如果cpuid_edx(0x80000006)按位与0xf000则num_cache_leaves等于4
711  否则num_cache_leaves等于3
调用者
名称描述
init_amd