函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\amd.c Create Date:2022-07-27 08:58:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_amd_k8

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
730  level等于CPUID functions returning a single datum
731  如果level大于等于0x0f48且level小于0x0f50或level大于等于0x0f58则set_cpu_cap(c, REP microcode works well )
739  如果x86_model小于0x14且cpu_has(c, LAHF/SAHF in long mode )则
740  clear_cpu_cap(c, LAHF/SAHF in long mode )
741  如果非rdmsrl_amd_safe(0xc001100d, & value)则
742  value与等于BIT_64(32)的反
743  wrmsrl_amd_safe(0xc001100d, value)
747  如果非x86_model_id[0]则strcpy(x86_model_id, "Hammer")
760  set_cpu_bug(c, SWAPGS without input dep on GS )
调用者
名称描述
init_amd