Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return whether the system supports a given xfeature.* Also return the name of the (most advanced) feature that the caller requested:
Proto:int cpu_has_xfeatures(u64 xfeatures_needed, const char **feature_name)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | xfeatures_needed | |
| const char ** | feature_name |
| 79 | xfeatures_missing = xfeatures_needed & ~Mask of xstate features supported by the CPU and the kernel: |
| 91 | If xfeatures_missing Then xfeatures_print = xfeatures_missing |
| 93 | Else xfeatures_print = xfeatures_needed |
| 103 | If xfeatures_missing Then Return 0 |
| 106 | Return 1 |
| Name | Describe |
|---|---|
| print_xstate_feature |
| 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 |