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:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_read_msr_safe

Proto:static inline unsigned long long native_read_msr_safe(unsigned int msr, int *err)

Type:unsigned long long

Parameter:

TypeParameterName
unsigned intmsr
int *err
140  Using 64-bit values saves one instruction clearing the high half of low (val, low, high)
142  asm volatile
153  If msr_tracepoint_active(__tracepoint_read_msr) Then do_trace_read_msr(msr, EAX_EDX_VAL(val, low, high), * err)
155  Return EAX_EDX_VAL(val, low, high)
Caller
NameDescribe
rdmsrl_safe