diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-28 17:57:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-28 18:35:40 +0100 |
commit | 0e59d87e06f967680d250b9a74d08da1389b6212 (patch) | |
tree | f1daffaca55b607ba9c60a4ae04444e52b95a362 /kern/debug.h | |
parent | b885c5ea26fb3c2f2d91b6e9a1495070da429ea4 (diff) | |
download | gnumach-0e59d87e06f967680d250b9a74d08da1389b6212.tar.gz gnumach-0e59d87e06f967680d250b9a74d08da1389b6212.tar.bz2 gnumach-0e59d87e06f967680d250b9a74d08da1389b6212.zip |
x86: Extend XSAVE support to unbound state
* i386/i386/fpu.c (fp_xsave_size): New variable.
(init_fpu): Save XSAVE size to fp_xsave_size.
(fpu_module_init): Pass fp_xsave_size as size to kmem_cache_init.
(fpu_set_state, fp_load, fp_state_alloc): Use fp_xsave_size to clear
ifps.
* i386/include/mach/i386/fp_reg.h (struct i386_xfp_save): Replace static
fp_yreg_word with extended field.
* i386/i386/thread.h (struct i386_fpsave_state): Make fp_valid field
first in the structure to let the extended finish the structure.
Diffstat (limited to 'kern/debug.h')
0 files changed, 0 insertions, 0 deletions