From ddd76228abdee588751d20b1aac615bd46aa08cf Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 30 Jun 1997 21:58:39 +0000 Subject: Thu Jun 26 14:03:16 1997 Thomas Bushnell, n/BSG * cpu-types.c (mach_cpu_types): Add entries for 486, 586, 686, and powerpc. (mach_cpu_subtypes): Add subtypes for new x86 subtypes. (None added for powerpc yet.) --- proc/ChangeLog | 7 +++++++ proc/cpu-types.c | 24 ++++++++++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) (limited to 'proc') diff --git a/proc/ChangeLog b/proc/ChangeLog index 72f8f66a..454277a3 100644 --- a/proc/ChangeLog +++ b/proc/ChangeLog @@ -4,6 +4,13 @@ (argp_program_version): New variable. Include and . +Thu Jun 26 14:03:16 1997 Thomas Bushnell, n/BSG + + * cpu-types.c (mach_cpu_types): Add entries for 486, 586, 686, + and powerpc. + (mach_cpu_subtypes): Add subtypes for new x86 subtypes. (None + added for powerpc yet.) + Mon Feb 3 16:52:14 1997 Miles Bader * hash.c (pid_find, task_find, task_find_nocreate, reqport_find): diff --git a/proc/cpu-types.c b/proc/cpu-types.c index f15387c7..64466e46 100644 --- a/proc/cpu-types.c +++ b/proc/cpu-types.c @@ -21,6 +21,10 @@ const char *const mach_cpu_types[] = [CPU_TYPE_SPARC] = "sparc", [CPU_TYPE_I860] = "i860", [CPU_TYPE_ALPHA] = "alpha", + [CPU_TYPE_I486] = "i486", + [CPU_TYPE_PENTIUM] = "i586", + [CPU_TYPE_PENTIUMPRO] = "i686", + [CPU_TYPE_POWERPC] = "powerpc", }; const char *const mach_cpu_subtypes[][32] = @@ -67,14 +71,18 @@ const char *const mach_cpu_subtypes[][32] = [CPU_SUBTYPE_MMAX_XPC] = "MMAX_XPC", [CPU_SUBTYPE_PC532] = "PC532", }, - [CPU_TYPE_I386] = - { - [CPU_SUBTYPE_AT386] = "AT386", - [CPU_SUBTYPE_EXL] = "EXL", - [CPU_SUBTYPE_iPSC386] = "iPSC386", - [CPU_SUBTYPE_SYMMETRY] = "SYMMETRY", - [CPU_SUBTYPE_PS2] = "PS2", - }, +#define Ix86_SUBTYPES \ + { \ + [CPU_SUBTYPE_AT386] = "AT386", \ + [CPU_SUBTYPE_EXL] = "EXL", \ + [CPU_SUBTYPE_iPSC386] = "iPSC386", \ + [CPU_SUBTYPE_SYMMETRY] = "SYMMETRY", \ + [CPU_SUBTYPE_PS2] = "PS2", \ + } + [CPU_TYPE_I386] = Ix86_SUBTYPES, + [CPU_TYPE_I486] = Ix86_SUBTYPES, + [CPU_TYPE_PENTIUM] = Ix86_SUBTYPES, + [CPU_TYPE_PENTIUMPRO] = Ix86_SUBTYPES, [CPU_TYPE_MIPS] = { [CPU_SUBTYPE_MIPS_R2300] = "R2300", -- cgit v1.2.3