函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Given the xsave area and a state inside, this function returns the* address of the state
函数原型:void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xregs_state * | xsave | |
int | xfeature_nr | state which is defined in xsave.h (e.g. XFEATURE_FP, |
842 | 如果非boot_cpu_has(XSAVE/XRSTOR/XSETBV/XGETBV instructions )则返回:NULL |
850 | WARN_ONCE(!(Mask of xstate features supported by the CPU and the kernel: & BIT_ULL( state which is defined in xsave.h (e.g. XFEATURE_FP,)), "get of unsupported state") |
863 | 如果非xfeatures按位与BIT_ULL( state which is defined in xsave.h (e.g. XFEATURE_FP,)的值则返回:NULL |
名称 | 描述 |
---|---|
get_xsave_field_ptr | This wraps up the common operations that need to occur when retrieving* data from xsave state. It first ensures that the current task was* using the FPU and retrieves the data in to a buffer. It then calculates |
setup_pku |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |