Function report |
Source Code:arch\x86\kernel\fpu\regset.c |
Create Date:2022-07-28 07:49:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fpregs_set
Proto:int fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | target | |
const struct user_regset * | regset | |
unsigned int | pos | |
unsigned int | count | |
const void * | kbuf | |
const void __user * | ubuf |
335 | If Not boot_cpu_has(Onboard FPU ) Then Return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf) |
338 | If Not boot_cpu_has(FXSAVE/FXRSTOR, CR4.OSFXSR ) Then Return user_regset_copyin( & pos, & count, & kbuf, & ubuf, & fsave, 0, - 1) |
343 | If pos > 0 || count < size of env Then FXSR floating point environment conversions. |
347 | If Not ret Then convert_to_fxsr( & fxsave, & env) |
354 | If boot_cpu_has(XSAVE/XRSTOR/XSETBV/XGETBV instructions ) Then xfeatures |= XFEATURE_MASK_FP |
356 | Return ret |
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 |