diff options
-rw-r--r-- | proc/ChangeLog | 7 | ||||
-rw-r--r-- | proc/cpu-types.c | 24 |
2 files changed, 23 insertions, 8 deletions
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 <argp.h> and <version.h>. +Thu Jun 26 14:03:16 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * 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 <miles@gnu.ai.mit.edu> * 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", |