1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-03 11:01:30 +00:00

Update match_entry_t to remove internal codes and bits

Remove brand_code, model_bits and model_code fields, add a new brand sub-struct.

There fields were complicated to manage, adding complex functions to make it work.
amd_bits_t and intel_bits_t enums were truncated, I had to replace them with #define in 2e01aa0303.

Some of these #define were conflicting with other C headers (ctype.h on OpenBSD, corecrt_wctype.h on Windows), that is why I wanted to get rid of it.

I updated some CPU codenames meanwhile for more consistency.

Fix #212.
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2025-04-26 19:46:37 +02:00
commit dc06877f4f
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
144 changed files with 1018 additions and 2070 deletions

View file

@ -98,5 +98,5 @@ general
-1
-1
64 (non-authoritative)
Yonah (Core Duo)
Core Duo (Yonah)
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor vmx est tm2 xtpr pdcm xd

View file

@ -102,5 +102,5 @@ general
-1
-1
64 (non-authoritative)
Yonah (Core Duo)
Core Duo (Yonah)
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor vmx est tm2 xtpr pdcm xd

View file

@ -98,5 +98,5 @@ general
-1
-1
64 (non-authoritative)
Yonah (Core Duo)
Core Duo (Yonah)
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor vmx est tm2 xtpr pdcm xd