summaryrefslogtreecommitdiff
path: root/com32/gpllib/cpuid.c
Commit message (Collapse)AuthorAgeFilesLines
* cpuid: Using generic model if cyrix id is unknownErwan Velu2011-04-161-3/+6
| | | | | | | When using the specific Cyrix call to determine the model, if the model is unknown, let's consider the generic call was right. This insure a better display of the model id.
* cpuid: Improving Cyrix/NSC detectionErwan Velu2011-04-161-0/+126
| | | | | This code add the specific detection code for Cyrix/NSC processor. Code came from the Linux kernel.
* cpuid: Managing UNKNOWN CPU betterErwan Velu2011-04-141-1/+7
| | | | | It's safe to manage the unknown cpu as a regular one. This will avoid weird behavior when CPU isn't well detected.
* cpuid: add cpuid info for "Geode by NSC"Jim Cromie2011-04-131-0/+6
| | | | | | Without this, cpu_detect(), and set_generic_info() would take 416 seconds on a soekris 4801 and hdt would report ?????????? as the processor vendor.
* cpuid: Simplied structure initErwan Velu2011-03-211-7/+1
| | | | Let's zeroify everything and then init what is different from 0;
* cpuid: Fixing names & init.Erwan Velu2011-03-211-4/+4
| | | | The init code was nearly incorrect. Fixed regarding Shao's comments.
* cpuid: Enable cpu flags members parsingErwan Velu2011-03-211-0/+23
| | | | | | | | This patch allow a program to parse the list of the cpu flags and retrieve its values, name & comments. I'd like to thank Shao Miller for helping me doing this code. He was really helpful and a good support. Thx Shao !
* cpuid: Init flags structuresErwan Velu2011-03-211-0/+1
| | | | Let's zeroify it at init time.
* Replacing strncpy by strlcpyErwan Velu2010-06-221-2/+2
| | | | | As reported by hpa, strlcpy is safer and could prevent some bugs. So I replaced all strncpy by strlcpy calls.
* gpllib: fix call to CPUID function 4Sebastian Herbszt2010-03-291-2/+4
| | | | | | | Only call CPUID function 4 if cpuid_level indicates its availability. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* cpuid: Adding L1 & L2 cache detectionErwan Velu2009-12-041-1/+51
| | | | | | Impact: Adding L1 & L2 cache detection Adding L1 & L2 cache detection
* cpuid: Adding cpu core detectionErwan Velu2009-12-041-2/+23
| | | | | | Impact: we are now able to detect the number of cpu cores We can detect the number of cores using cpuid(4) or cpuid_ecx(0x80000008)
* cpuid: Adding more flagsErwan Velu2009-12-041-0/+51
| | | | | | | Impact: sync with linux kernel cpu flags are now in sync with the linux kernel. Too many flags were missing.
* Adding VMX & SVM cpu flagsErwan Velu2009-09-291-0/+2
| | | | | | Impact: Hardware virtualization is now detected Minor update to detect vmx & svm cpu flags
* Run Nindent on com32/gpllib/cpuid.cH. Peter Anvin2009-05-291-223/+225
| | | | | | | | | Automatically reformat com32/gpllib/cpuid.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Moving dmi & cpuid stuff to gpl subdirsErwan Velu2009-03-121-0/+328
Fixing copyrights Moving dmi includes to gplinclude/dmi Moving dmi code to gpllib/dmi/ Moving cpuid includes to gplinclude/ Moving cpuid code to gpllib/ Fixing Makefiles accordingly