函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-27 08:58:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:early_init_amd
函数原型:static void early_init_amd(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
630 | early_init_amd_mc(c) |
633 | 如果CPU family 恒等于6则set_cpu_cap(c, "" Athlon ) |
637 | 如果CPU family 大于等于0xf则set_cpu_cap(c, "" Opteron, Athlon64 ) |
640 | dmsr with exception handling (AMD64 MSRs. Not complete. See the architecture manual for a more* complete list., & microcode, & dummy) |
646 | 如果x86_power按位与1左移8位则 |
652 | 如果x86_power按位与BIT(12)则set_cpu_cap(c, AMD Accumulated Power Mechanism ) |
690 | set_cpu_cap(c, Prefer VMMCALL to VMCALL ) |
693 | 如果CPU family 恒等于0x16且x86_model小于等于0xf则Set @bit in a MSR @msr.* Retval:* < 0: An error was encountered.* = 0: Bit was already set.* > 0: Hardware accepted the MSR write. |
702 | 如果cpu_has_amd_erratum(c, amd_erratum_400)则set_cpu_bug(c, CPU is among the affected by Erratum 400 ) |
708 | 如果CPU family 恒等于0x15且x86_model大于等于0x10且x86_model小于等于0x6f且非cpu_has(c, Topology extensions CPUID leafs )则 |
716 | pr_info_once(FW_INFO"CPU: Re-enabling disabled Topology Extensions Support.\n") |
721 | amd_get_topology_early(c) |
名称 | 描述 |
---|---|
init_amd |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |