函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Record the offsets and sizes of various xstates contained* in the XSAVE state memory layout.
函数原型:static void __init setup_xstate_features(void)
返回类型:void
参数:无
250 | last_good_offset等于offsetof(structxregs_state, extended_state_area) |
257 | xstate_offsets[XFEATURE_FP]等于0 |
258 | xstate_sizes[XFEATURE_FP]等于offsetof(structfxregs_state, xmm_space) |
262 | xstate_sizes[XFEATURE_SSE]等于sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structfxregs_state, xmm_space) |
265 | 以i小于XFEATURE_MAX循环 |
269 | cpuid_count(XSTATE_CPUID, i, & eax, & ebx, & ecx, & edx) |
275 | 如果xfeature_is_user(i)则xstate_offsets[i]等于ebx |
278 | xstate_sizes[i]等于eax |
284 | WARN_ONCE(last_good_offset > xstate_offsets[i], "x86/fpu: misordered xstate at %d\n", last_good_offset) |
286 | last_good_offset等于xstate_offsets[i] |
名称 | 描述 |
---|---|
setup_init_fpu_buf | setup the xstate image representing the init state |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |