18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * FPU regset handling methods: 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci#ifndef _ASM_X86_FPU_REGSET_H 68c2ecf20Sopenharmony_ci#define _ASM_X86_FPU_REGSET_H 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <linux/regset.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciextern user_regset_active_fn regset_fpregs_active, regset_xregset_fpregs_active; 118c2ecf20Sopenharmony_ciextern user_regset_get2_fn fpregs_get, xfpregs_get, fpregs_soft_get, 128c2ecf20Sopenharmony_ci xstateregs_get; 138c2ecf20Sopenharmony_ciextern user_regset_set_fn fpregs_set, xfpregs_set, fpregs_soft_set, 148c2ecf20Sopenharmony_ci xstateregs_set; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci/* 178c2ecf20Sopenharmony_ci * xstateregs_active == regset_fpregs_active. Please refer to the comment 188c2ecf20Sopenharmony_ci * at the definition of regset_fpregs_active. 198c2ecf20Sopenharmony_ci */ 208c2ecf20Sopenharmony_ci#define xstateregs_active regset_fpregs_active 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* _ASM_X86_FPU_REGSET_H */ 23