From 90cdc6c3cdc70092a3f26911680ae1d25f4ef77b Mon Sep 17 00:00:00 2001 From: wuxinyue Date: Wed, 6 Nov 2024 16:36:36 +0800 Subject: [PATCH] Add hygon into AMD vendor Signed-off-by: wuxinyue --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 31ab295..be3a3ee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -204,7 +204,7 @@ impl Vendor { match vi.as_str() { "GenuineIntel" => Vendor::Intel, - "AuthenticAMD" => Vendor::Amd, + "AuthenticAMD" | "HygonGenuine" => Vendor::Amd, _ => Vendor::Unknown(res.ebx, res.ecx, res.edx), } }