Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\msr.h Create Date:2022-07-28 05:34:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__rdmsr() and __wrmsr() are the two primitives which are the bare minimum MSR* accessors and should not have any tracing or other functionality piggybacking* on them - those are *purely* for accessing MSRs and nothing more

Proto:static inline unsigned long long notrace __rdmsr(unsigned int msr)

Type:unsigned long long

Parameter:

TypeParameterName
unsigned intmsr
93  Using 64-bit values saves one instruction clearing the high half of low (val, low, high)
95  asm volatile
100  Return EAX_EDX_VAL(val, low, high)
Caller
NameDescribe
native_read_msr