aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
diff options
context:
space:
mode:
authorLaurent Licour <laurent@licour.com>2011-01-30 20:50:59 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-30 20:50:59 +0100
commit813daa0f83959de7c1ece9381966905a538919db (patch)
treefe6fa1ad931ebb41e4a9da37610574721b74209a /com32/modules
parent98d58026c4bf38e42adcfbd5f92da29fb582d41a (diff)
downloadsyslinux-813daa0f83959de7c1ece9381966905a538919db.tar.gz
syslinux-813daa0f83959de7c1ece9381966905a538919db.tar.xz
syslinux-813daa0f83959de7c1ece9381966905a538919db.zip
DMI: Adjusting structures size / Adding cpu core
This patch adds some correction of the dmi structures but also add the support of the cpu cores/threads.
Diffstat (limited to 'com32/modules')
-rw-r--r--com32/modules/dmitest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/modules/dmitest.c b/com32/modules/dmitest.c
index b81d0cef..294585bb 100644
--- a/com32/modules/dmitest.c
+++ b/com32/modules/dmitest.c
@@ -165,6 +165,12 @@ void display_cpu(s_dmi * dmi)
moreprintf("\tCache L3 Handle %s\n", dmi->processor.cache3);
moreprintf("\tSerial %s\n", dmi->processor.serial);
moreprintf("\tPart Number %s\n", dmi->processor.part_number);
+ if (dmi->processor.core_count != 0)
+ moreprintf("\tCores Count %d\n", dmi->processor.core_count);
+ if (dmi->processor.core_enabled != 0)
+ moreprintf("\tCores Enabled %d\n", dmi->processor.core_enabled);
+ if (dmi->processor.thread_count != 0)
+ moreprintf("\tThreads Count %d\n", dmi->processor.thread_count);
moreprintf("\tID %s\n", dmi->processor.id);
display_processor_flags(dmi);
}