Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This function sets up offsets and sizes of all extended states in* xsave area. This supports both standard format and compacted format* of the xsave aread.
Proto:static void __init setup_xstate_comp(void)
Type:void
Parameter:Nothing
| 356 | xstate_comp_offsets[XFEATURE_FP] = 0 |
| 357 | xstate_comp_offsets[XFEATURE_SSE] = offsetof(structfxregs_state, xmm_space) |
| 360 | If Not boot_cpu_has(XSAVES/XRSTORS instructions ) Then |
| 361 | When i < XFEATURE_MAX cycle |
| 363 | xstate_comp_offsets[i] = xstate_offsets[i] |
| 364 | xstate_comp_sizes[i] = xstate_sizes[i] |
| 367 | Return |
| 373 | When i < XFEATURE_MAX cycle |
| 376 | Else xstate_comp_sizes[i] = 0 |
| 379 | If i > FIRST_EXTENDED_XFEATURE Then |
| Name | Describe |
|---|---|
| fpu__init_system_xstate | Enable and initialize the xsave feature.* Called once per system bootup. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |