| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reported-by: Ady <ady-sf@hotmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
| |
This code add the specific detection code for Cyrix/NSC processor.
Code came from the Linux kernel.
|
|
|
|
|
| |
It's safe to manage the unknown cpu as a regular one. This will avoid
weird behavior when CPU isn't well detected.
|
|
|
|
|
|
|
|
| |
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 !
|
|
|
|
|
|
|
|
|
| |
Add a centralized bitops header <sys/bitops.h> which uses x86 bitops
instructions. This is necessary to keep gcc 4.5 from aborting
compilation due to the inlined code being larger than the non-inlined
version, and well, we should really use the bitops.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Impact: Adding L1 & L2 cache detection
Adding L1 & L2 cache detection
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Impact: sync with linux kernel
cpu flags are now in sync with the linux kernel. Too many flags were
missing.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Impact: Hardware virtualization is now detected
Minor update to detect vmx & svm cpu flags
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Syslinux build turns on -Wwrite-strings, which gives string constants
the type const char[length].
Note: -Wall doesn't trigger this warning.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|/
|
|
|
|
| |
It seems that the cpuid.h had a misplaced #endif.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
|
|
| |
Automatically reformat com32/gplinclude/cpuid.h 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>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
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
|