target/i386: Replace target_ulong -> uint64_t for TARGET_X86_64
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é <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20260315165319.39727-1-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Mar 15, 2026 at 15:33 UTC
01fb8a07f48b3374f8f1a609f8269234f622b97a
1 file changed
+4
-4
target/i386/cpu.h
+4
-4
@@ -2061,10 +2061,10 @@ typedef struct CPUArchState {
2061
uint64_t vm_hsave;
2062
2063
#ifdef TARGET_X86_64
2064
- target_ulong lstar;
2065
- target_ulong cstar;
2066
- target_ulong fmask;
2067
- target_ulong kernelgsbase;
2064
+ uint64_t lstar;
2065
+ uint64_t cstar;
2066
+ uint64_t fmask;
2067
+ uint64_t kernelgsbase;
2068
2069
/* FRED MSRs */
2070
uint64_t fred_rsp0;