summaryrefslogtreecommitdiff
path: root/identify.c
diff options
context:
space:
mode:
authordavej <davej>2001-12-10 23:51:58 +0000
committerdavej <davej>2001-12-10 23:51:58 +0000
commit2ea9f590a8a9ba05edfb22a3859a95a5d6e84ed3 (patch)
treeef90ce582d9c77c274639ee9418e46844341fa72 /identify.c
parent6b595f1ff1d9ecac3616369e184e89928b42e06a (diff)
Cluster register dumps together.
Diffstat (limited to 'identify.c')
-rw-r--r--identify.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/identify.c b/identify.c
index 59a99c4..5c222c8 100644
--- a/identify.c
+++ b/identify.c
@@ -1,5 +1,5 @@
/*
- * $Id: identify.c,v 1.17 2001/12/10 21:12:12 davej Exp $
+ * $Id: identify.c,v 1.18 2001/12/10 23:51:58 davej Exp $
* This file is part of x86info.
* (C) 2001 Dave Jones.
*
@@ -30,36 +30,29 @@ void identify (struct cpudata *cpu)
default: printf ("Unknown vendor\n"); return;
}
+ if (show_registers)
+ dumpregs (cpu->number);
+
if (!silent) {
switch (cpu->vendor) {
case VENDOR_AMD:
- printf ("Family: %d Model: %d Stepping: %d [%s]\n",
- cpu->family, cpu->model, cpu->stepping, cpu->name);
display_AMD_info (maxei, cpu);
break;
case VENDOR_CYRIX:
- printf ("Family: %d Model: %d Stepping: %d [%s]\n",
- cpu->family, cpu->model, cpu->stepping, cpu->name);
display_Cyrix_info (maxi, maxei, cpu);
break;
case VENDOR_CENTAUR:
- printf ("Family: %d Model: %d Stepping: %d [%s]\n",
- cpu->family, cpu->model, cpu->stepping, cpu->name);
display_IDT_info (maxei, cpu);
break;
case VENDOR_INTEL:
- printf ("Family: %d Model: %d Stepping: %d Type: %d [%s]\n",
- cpu->family, cpu->model, cpu->stepping, cpu->type, cpu->name);
display_Intel_info (maxi, cpu);
break;
case VENDOR_RISE:
- printf ("Family: %d Model: %d Stepping: %d [%s]\n",
- cpu->family, cpu->model, cpu->stepping, cpu->name);
display_RiSE_info (maxi, maxei, cpu);
break;