函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Enable and initialize the xsave feature.* Called once per system bootup.
函数原型:void __init fpu__init_system_xstate(void)
返回类型:void
参数:无
| 719 | on_boot_cpu((__section__(".init.data")))等于1 |
| 723 | WARN_ON_FPU(!on_boot_cpu) |
| 724 | on_boot_cpu等于0 |
| 726 | 如果非boot_cpu_has(Onboard FPU )则 |
| 727 | 打印信息("x86/fpu: No FPU detected\n") |
| 728 | 返回 |
| 732 | 打印信息("x86/fpu: x87 FPU will use %s\n", boot_cpu_has(FXSAVE/FXRSTOR, CR4.OSFXSR ) ? "FXSAVE" : "FSAVE") |
| 734 | 返回 |
| 738 | WARN_ON_FPU(1) |
| 739 | 返回 |
| 742 | cpuid_count(XSTATE_CPUID, 0, & eax, & ebx, & ecx, & edx) |
| 751 | 打印错误信息("x86/fpu: FP/SSE not present amongst the CPU's xstate features: 0x%llx.\n", Mask of xstate features supported by the CPU and the kernel:) |
| 752 | 转到:out_disable |
| 767 | err等于init_xstate_size() |
| 768 | 如果err则转到:out_disable |
| 782 | 打印信息("x86/fpu: Enabled xstate features 0x%llx, context size is %d bytes, using '%s' format.\n", Mask of xstate features supported by the CPU and the kernel:, Size of the FPU context state. All tasks in the system use the* same context size, regardless of what portion they use.* This is inherent to the XSAVE architecture which puts all state* components into a single, continuous memory block:, boot_cpu_has(XSAVES/XRSTORS instructions ) ? "compacted" : "standard") |
| 786 | 返回 |
| 788 | out_disable : |
| 名称 | 描述 |
|---|---|
| fpu__init_system | Called on the boot CPU once per system bootup, to set up the initial* FPU state that is later cloned into all processes: |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |