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