1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
Commit graph

649 commits

Author SHA1 Message Date
The Tumultuous Unicorn Of Darkness
995f7d12d9
Fix 'function declaration isn't a prototype' warning 2023-03-25 19:23:28 +01:00
The Tumultuous Unicorn Of Darkness
7542db9879
Initial support for AMD Phoenix APU with hybrid architecture
This work may not work: extended CPU Topology leaf is required.
2023-03-25 19:17:44 +01:00
Robert Kausch
37462ab492 Query CPU info at least once even if set_cpu_affinity() fails 2023-03-12 11:54:21 +01:00
Robert Kausch
54ed9a0a17
Restore previous thread CPU affinity before returning from cpuid_get_all_raw_data() (#184)
* Set thread instead of process CPU affinity in pre Windows 7 case

* Restore previous thread CPU affinity before returning from cpuid_get_all_raw_data()
2023-02-17 11:07:44 +02:00
Mike Gabriel
c7c2bd3619
libcpuid/libcpuid.h: Fix same typo in various comments. (#181) 2023-01-29 23:01:16 +02:00
Veselin Georgiev
d02c05428d Fix issue #179 (Misprint, not enough zeros in the constant)
As suggested in the issue comment.
2023-01-02 13:18:01 +02:00
The Tumultuous Unicorn Of Darkness
3b0a1f7e5b
Fix infinite loop in set_cpu_affinity() on macOS
Fix #178
2023-01-01 14:20:44 +01:00
The Tumultuous Unicorn Of Darkness
e8d31149a8
DB: add Intel Alder Lake-H, fix Alder Lake-P
According to Wikipedia (https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-H), CPU names ending with 'H' or 'HK' are part of 'Alder Lake-H'.
Only CPU names ending with 'P' are part of 'Alder Lake-P'
2022-12-31 12:14:42 +01:00
The Tumultuous Unicorn Of Darkness
44bde9877a
DB: add Intel Alder Lake-HX
Refer to https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-HX
2022-12-31 12:04:12 +01:00
The Tumultuous Unicorn Of Darkness
d984d4389f
DB: add Intel Pentium+Celeron for Alder Lake-S 2022-12-31 11:59:41 +01:00
The Tumultuous Unicorn Of Darkness
3d1ed275c9
Release version 0.6.2 2022-11-11 19:33:06 +01:00
The Tumultuous Unicorn Of Darkness
e94d675039
DB: add AMD 4700S, rename 4800S
https://www.amd.com/fr/desktop-kits/amd-4700s
2022-11-11 19:27:57 +01:00
The Tumultuous Unicorn Of Darkness
feccd8f7c8
Fix unused parameters 2022-11-11 17:50:34 +01:00
The Tumultuous Unicorn Of Darkness
d8c3f3365a
Fix warning in rdmsr.c
D:\a\libcpuid\libcpuid\libcpuid\rdmsr.c(945,46): warning C4244: 'function': conversion from 'uint64_t' to 'uint32_t', possible loss of data [D:\a\libcpuid\libcpuid\libcpuid\libcpuid_vc10.vcxproj]
2022-11-11 17:50:01 +01:00
The Tumultuous Unicorn Of Darkness
d84493e6ca
Fix warnings in cpuid_main.c
D:\a\libcpuid\libcpuid\libcpuid\cpuid_main.c(1192,82): warning C4244: '=': conversion from 'double' to 'int32_t', possible loss of data [D:\a\libcpuid\libcpuid\libcpuid\libcpuid_vc10.vcxproj]
  D:\a\libcpuid\libcpuid\libcpuid\cpuid_main.c(1283,23): warning C4018: '<': signed/unsigned mismatch [D:\a\libcpuid\libcpuid\libcpuid\libcpuid_vc10.vcxproj]
2022-11-11 17:49:21 +01:00
The Tumultuous Unicorn Of Darkness
94930cb891
DB: add AMD Athlon 64 Sherman
Related to TheTumultuousUnicornOfDarkness/CPU-X#255
2022-11-11 16:59:21 +01:00
The Tumultuous Unicorn Of Darkness
cb041797ac
Docs: update Doxyfile for version 1.9.5
warning: Tag 'FORMULA_TRANSPARENT' at line 1589 of file 'libcpuid/Doxyfile.in' has become obsolete.
         This tag has been removed.
warning: Tag 'DOT_FONTNAME' at line 2313 of file 'libcpuid/Doxyfile.in' has become obsolete.
         This tag has been removed.
warning: Tag 'DOT_FONTSIZE' at line 2320 of file 'libcpuid/Doxyfile.in' has become obsolete.
         This tag has been removed.
warning: Tag 'DOT_TRANSPARENT' at line 2576 of file 'libcpuid/Doxyfile.in' has become obsolete.
         This tag has been removed.
2022-11-11 16:44:09 +01:00
The Tumultuous Unicorn Of Darkness
ac084cc6e9
DB: add more AMD Renoir
Ryzen 7 4800S Desktop Kit
Refer to InstLatx64/InstLatx64@2cdaa4a2ec
https://www.amd.com/en/product/9081
2022-11-11 16:42:09 +01:00
The Tumultuous Unicorn Of Darkness
1977fb7131
DB: add Intel Ice Lake (Xeon-D)
Refer to InstLatx64/InstLatx64@936e7e1c80
2022-11-11 16:32:37 +01:00
The Tumultuous Unicorn Of Darkness
c839e597ae
DB: add AMD Mendocino
Refer to InstLatx64/InstLatx64@936e7e1c80
https://www.anandtech.com/show/17584/amd-launches-mendocino-apus-zen-2-ryzen-and-athlon-7020-series-with-rdna-2-graphics
2022-11-11 16:23:37 +01:00
Xorg
e0dce2b0ef
DB: add Intel Tremont
Fix X0rg/CPU-X#253
2022-10-29 15:41:59 +02:00
Xorg
671174f567
Fix formatting in README.md 2022-10-27 21:17:32 +02:00
Xorg
c61b3b1278
Add packaging status in README.md 2022-10-27 21:15:31 +02:00
Xorg
6c9798c3b0
DB: add Intel Penryn L
Related to #176
https://www.intel.com/content/www/us/en/products/sku/41498/intel-celeron-processor-900-1m-cache-2-20-ghz-800-mhz-fsb/specifications.html
2022-10-25 22:53:16 +02:00
Xorg
1ed9a89ab0
Fix segfault in cpu_identify_all() for mono-core CPUs
Fix X0rg/CPU-X#251
Fix #176
2022-10-25 22:23:14 +02:00
Xorg
9ec39e1312
CI: update actions to Node16
All actions using Node12 are deprecated: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12
2022-10-23 17:26:13 +02:00
Xorg
e5b5f2e019
Release version 0.6.1 2022-10-23 16:51:00 +02:00
Xorg
008983930b
DB: add Intel Raptor Lake-S 2022-10-23 12:11:49 +02:00
Xorg
7cabadd903
CMake: create shared libraries with correct SO name
Fix #174
2022-10-22 21:16:44 +02:00
Xorg
e073118328
Avoid to print the same debug message twice in update_cache_instances() 2022-10-22 20:36:34 +02:00
Xorg
bbdab9e398
Print a warning if APIC ID is not supported 2022-10-22 20:35:56 +02:00
Xorg
737cc3d98e
Use APIC ID to count physical core when supported
Fix #175
2022-10-22 20:32:05 +02:00
Xorg
23b6f5cf54
DB: remove AMD Warhol
It seems Warhol was the codename for 6000 series desktop CPUs, but Warhol was cancelled.
I thought that Warhol was the codename for Ryzen 7 5800X3D, but according to [1], codename for this CPU is Vermeer

[1] https://en.wikipedia.org/wiki/List_of_AMD_Ryzen_processors#Vermeer_and_Chagall_(5000_series_CPUs)
2022-10-11 18:24:08 +02:00
sprunk
8ad16a7050 Fix a typo 2022-10-06 19:48:47 +02:00
Veselin Georgiev
1a3785d03f This would likely fix #172 (cpuid_tool.exe v0.6.0 doesn't work on my PC) 2022-10-05 10:23:58 +03:00
Xorg
f8f73a2eae
Docs: update Doxyfile for version 1.9
warning: Tag 'OUTPUT_TEXT_DIRECTION' at line 102 of file 'libcpuid/build/libcpuid/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'LATEX_SOURCE_CODE' at line 1812 of file 'libcpuid/build/libcpuid/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'RTF_SOURCE_CODE' at line 1902 of file 'libcpuid/build/libcpuid/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 2007 of file 'libcpuid/build/libcpuid/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'CLASS_DIAGRAMS' at line 2194 of file 'libcpuid/build/libcpuid/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
2022-10-01 18:36:01 +02:00
Xorg
32884eba4b
Move some items in cpudb_amd
It does not change anything, it is to order items by families
2022-10-01 18:27:15 +02:00
Xorg
afd80271bd
DB: add AMD Van Gogh
This APU is used by Steam Deck
2022-10-01 18:07:13 +02:00
Xorg
3524cb5203
DB: add AMD Dali
https://en.wikichip.org/wiki/amd/cores/dali
2022-10-01 18:07:00 +02:00
Xorg
863bf79bc9
DB: add AMD Raphael 2022-10-01 17:36:40 +02:00
Xorg
7a176ff1e4
Allow to debug score
AMD Raphael is detected as Warhol. I found they have the same score because Raphael is stepping 2, despite having a matching ext_model
2022-10-01 17:21:33 +02:00
Xorg
3bf569faf5 Release version 0.6.0 2022-09-27 20:46:59 +02:00
Xorg
7ab6b3273c
DB: add AMD custom APU for Steam Deck
Fix X0rg/CPU-X#236
2022-09-27 20:19:12 +02:00
Xorg
9334bce205
Fix cpuid_deserialize_raw_data_internal when raw starts with 'version' 2022-09-27 20:16:05 +02:00
Xorg
951c42be82
Improve msr_serialize_raw_data function
- Use cached CPUID
- Cache CPU clock
- Make all output fields parsable
2022-09-25 10:33:36 +02:00
Xorg
967f3ab80d
Improve get_cached_cpuid in case of failure 2022-09-25 10:31:54 +02:00
Xorg
73c33ced4a
Add get_error function for internal use
Sometimes, the _libcpuid_errno value needs to be returned
2022-09-25 10:22:22 +02:00
Xorg
10b4e46179
Fix typo in variable name 2022-09-25 10:11:39 +02:00
Xorg
871840f8e5
Fix cpuid_serialize_raw_data_internal when no filename is provided 2022-09-24 18:57:35 +02:00
Xorg
49cb8703ca
Typo (RAW to raw) 2022-09-23 18:44:38 +02:00