x86: identify Hygon vendor
it's a Zen-based CPU: rely on AMD support code. Change-Id: Ia980a42457575bf8d1130d813310a285bf137691 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3217 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -173,7 +173,7 @@ get_cpu_vendor_string(enum cpu_vendor cpuVendor)
|
||||
// Should match vendors in OS.h
|
||||
static const char* vendorStrings[] = {
|
||||
NULL, "AMD", "Cyrix", "IDT", "Intel", "National Semiconductor", "Rise",
|
||||
"Transmeta", "VIA", "IBM", "Motorola", "NEC"
|
||||
"Transmeta", "VIA", "IBM", "Motorola", "NEC", "Hygon"
|
||||
};
|
||||
|
||||
if ((size_t)cpuVendor >= sizeof(vendorStrings) / sizeof(const char*))
|
||||
|
||||
Reference in New Issue
Block a user