Function report |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-28 07:58:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:early_init_amd
Proto:static void early_init_amd(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
630 | early_init_amd_mc(c) |
633 | If CPU family == 6 Then set_cpu_cap(c, "" Athlon ) |
637 | If CPU family >= 0xf Then 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 | If x86_power & 1 << 8 Then |
652 | If x86_power & BIT(12) Then set_cpu_cap(c, AMD Accumulated Power Mechanism ) |
690 | set_cpu_cap(c, Prefer VMMCALL to VMCALL ) |
693 | If CPU family == 0x16 && x86_model <= 0xf Then Set @bit in a MSR @msr.* Retval:* < 0: An error was encountered.* = 0: Bit was already set.* > 0: Hardware accepted the MSR write. |
702 | If cpu_has_amd_erratum(c, amd_erratum_400) Then set_cpu_bug(c, CPU is among the affected by Erratum 400 ) |
708 | If CPU family == 0x15 && x86_model >= 0x10 && x86_model <= 0x6f && Not cpu_has(c, Topology extensions CPUID leafs ) Then |
716 | pr_info_once(FW_INFO"CPU: Re-enabling disabled Topology Extensions Support.\n") |
721 | amd_get_topology_early(c) |
Name | Describe |
---|---|
init_amd |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |