bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 gnumach 1/3] add xfloat thread state interface


From: Samuel Thibault
Subject: Re: [PATCH v2 gnumach 1/3] add xfloat thread state interface
Date: Thu, 22 Aug 2024 23:44:52 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]