mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2026-08-26 21:27:15 -05:00
Solve incorrect core/thread count on some VIA CPUs
No Cyrix / VIA / CentaurHauls / Zhaoxin CPUs support HT, so disable it.
This commit is contained in:
+3
-2
@@ -4,7 +4,7 @@
|
||||
//
|
||||
// Derived from memtest86+ cpuid.h
|
||||
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cpuid.h"
|
||||
@@ -196,7 +196,8 @@ void cpuid_init(void)
|
||||
}
|
||||
break;
|
||||
case 'C':
|
||||
// VIA / CentaurHauls
|
||||
// Cyrix / VIA / CentaurHauls / Zhaoxin
|
||||
cpuid_info.flags.htt = false;
|
||||
break;
|
||||
case 'G':
|
||||
if (cpuid_info.vendor_id.str[7] == 'T') break; // Transmeta
|
||||
|
||||
Reference in New Issue
Block a user