函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\msr.h Create Date:2022-07-27 06:38:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:native_read_msr_safe

函数原型:static inline unsigned long long native_read_msr_safe(unsigned int msr, int *err)

返回类型:unsigned long long

参数:

类型参数名称
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  如果msr_tracepoint_active(__tracepoint_read_msr)则do_trace_read_msr(msr, EAX_EDX_VAL(val, low, high), * err)
155  返回:EAX_EDX_VAL(val, low, high)
调用者
名称描述
rdmsrl_safe