Function report | 
Source Code:arch\x86\kernel\cpu\amd.c | 
Create Date:2022-07-28 07:58:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:wrmsrl_amd_safe
Proto:static inline int wrmsrl_amd_safe(unsigned msr, unsigned long long val)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned | msr | |
| unsigned long long | val | 
| 61 | unsigned int gprs[8] = {0} | 
| 63 | WARN_ONCE((CPU family != 0xf), "%s should only be used on K8!\n", __func__) | 
| 69 | gprs[7] = 0x9c5a203a | 
| 71 | Return wrmsr_safe_regs(gprs) | 
| Name | Describe | 
|---|---|
| init_amd_k8 | 
| 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  |