From eca65ec789d6e48536a1a9867647d95746364a3d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 6 May 2023 15:43:28 +0200 Subject: proc: Add CPU_TYPE_X86_64 support --- proc/cpu-types.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'proc/cpu-types.c') 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 @@ -32,6 +32,9 @@ const char *const mach_cpu_types[] = #endif #ifdef CPU_TYPE_POWERPC [CPU_TYPE_POWERPC] = "powerpc", +#endif +#ifdef CPU_TYPE_X86_64 + [CPU_TYPE_X86_64] = "x86_64", #endif }; @@ -96,6 +99,9 @@ const char *const mach_cpu_subtypes[][32] = #endif #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] = { -- cgit v1.2.3