diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-06 15:43:28 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-06 15:43:28 +0200 |
commit | eca65ec789d6e48536a1a9867647d95746364a3d (patch) | |
tree | 1ddf77a72404ad57cc953d35bf4f95437fbb2e84 /proc | |
parent | 717897ca40be3bb78130617c8e880137eff96d96 (diff) | |
download | hurd-eca65ec789d6e48536a1a9867647d95746364a3d.tar.gz hurd-eca65ec789d6e48536a1a9867647d95746364a3d.tar.bz2 hurd-eca65ec789d6e48536a1a9867647d95746364a3d.zip |
proc: Add CPU_TYPE_X86_64 support
Diffstat (limited to 'proc')
-rw-r--r-- | proc/cpu-types.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proc/cpu-types.c b/proc/cpu-types.c index 7bcaa928..3d89d5a7 100644 --- a/proc/cpu-types.c +++ b/proc/cpu-types.c @@ -33,6 +33,9 @@ const char *const mach_cpu_types[] = #ifdef CPU_TYPE_POWERPC [CPU_TYPE_POWERPC] = "powerpc", #endif +#ifdef CPU_TYPE_X86_64 + [CPU_TYPE_X86_64] = "x86_64", +#endif }; const char *const mach_cpu_subtypes[][32] = @@ -97,6 +100,9 @@ const char *const mach_cpu_subtypes[][32] = #ifdef CPU_TYPE_PENTIUMPRO [CPU_TYPE_PENTIUMPRO] = Ix86_SUBTYPES, #endif +#ifdef CPU_TYPE_X86_64 + [CPU_TYPE_X86_64] = Ix86_SUBTYPES, +#endif [CPU_TYPE_MIPS] = { [CPU_SUBTYPE_MIPS_R2300] = "R2300", |