On 15/03/26, Philippe Mathieu-Daudé wrote:
> These registers are only available on 64-bit builds, thus
> always handled as 64-bit. This isn't even a migration break
> because they are migrated as 64-bit since the beginning
> (see commit 02536f8b1f9 "x86_64 save/restore").
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
>  target/i386/cpu.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/target/i386/cpu.h b/target/i386/cpu.h
> index e5ae29f8af1..b0c730b3390 100644
> --- a/target/i386/cpu.h
> +++ b/target/i386/cpu.h
> @@ -2058,10 +2058,10 @@ typedef struct CPUArchState {
>      uint64_t vm_hsave;
>  
>  #ifdef TARGET_X86_64
> -    target_ulong lstar;
> -    target_ulong cstar;
> -    target_ulong fmask;
> -    target_ulong kernelgsbase;
> +    uint64_t lstar;
> +    uint64_t cstar;
> +    uint64_t fmask;
> +    uint64_t kernelgsbase;
>  
>      /* FRED MSRs */
>      uint64_t fred_rsp0;
> -- 
> 2.53.0
> 

Reviewed-by: Anton Johansson <[email protected]>

Reply via email to