Function report |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-28 07:58:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_amd_k8
Proto:static void init_amd_k8(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
731 | If level >= 0x0f48 && level < 0x0f50 || level >= 0x0f58 Then set_cpu_cap(c, REP microcode works well ) |
739 | If x86_model < 0x14 && cpu_has(c, LAHF/SAHF in long mode ) Then |
740 | clear_cpu_cap(c, LAHF/SAHF in long mode ) |
741 | If Not rdmsrl_amd_safe(0xc001100d, & value) Then |
743 | wrmsrl_amd_safe(0xc001100d, value) |
747 | If Not x86_model_id[0] Then strcpy(x86_model_id, "Hammer") |
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 |