Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Given the xsave area and a state inside, this function returns the* address of the state
Proto:void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct xregs_state * | xsave | |
int | xfeature_nr | state which is defined in xsave.h (e.g. XFEATURE_FP, |
842 | If Not boot_cpu_has(XSAVE/XRSTOR/XSETBV/XGETBV instructions ) Then Return 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 | If Not (xfeatures & BIT_ULL( state which is defined in xsave.h (e.g. XFEATURE_FP,)) Then Return NULL |
Name | Describe |
---|---|
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 |
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 |