Luca Dariz, le mer. 21 août 2024 18:36:14 +0200, a ecrit: > diff --git a/i386/include/mach/i386/mach_i386.defs > b/i386/include/mach/i386/mach_i386.defs > index 965d5c3b..61fed222 100644 > --- a/i386/include/mach/i386/mach_i386.defs > +++ b/i386/include/mach/i386/mach_i386.defs > @@ -111,3 +111,9 @@ routine i386_get_gdt( > target_thread : thread_t; > selector : int; > out desc : descriptor_t); > + > +/* Returns the size in bytes of the FPU extended state, to be used > + with i386_XFLOAT_STATE instead of i386_XFLOAT_STATE_COUNT */ > +routine i386_get_xstate_size( > + host : host_t; > + out size : natural_t);
In principle that should rather be a vm_size_t? Samuel