summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorJoker-Van <jokervan@163.com>2022-03-02 11:23:22 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-02 12:27:44 (GMT)
commita20ad920228275c2fc237d7f401545a8a0da0dc9 (patch)
tree71de28f567d7b59a285e121d47a4e30dc693e6b4 /Source/kwsys/SystemInformation.cxx
parent50d2d438ccf2bb9d5c6cc701e9cd2be6949a5c97 (diff)
downloadCMake-a20ad920228275c2fc237d7f401545a8a0da0dc9.zip
CMake-a20ad920228275c2fc237d7f401545a8a0da0dc9.tar.gz
CMake-a20ad920228275c2fc237d7f401545a8a0da0dc9.tar.bz2
KWSys: SystemInformation: Add Zhaoxin x86 processor kh40000
Backport KWSys commit `dfec20c95` (SystemInformation: Add Zhaoxin x86 processor kh40000, 2022-03-02) to the CMake 3.23 release branch.
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index dcbf367..e6cc48f 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -3262,6 +3262,9 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
case 0x3b:
this->ChipID.ProcessorName = "Zhaoxin kx6000";
break;
+ case 0x5b:
+ this->ChipID.ProcessorName = "Zhaoxin kh40000";
+ break;
default:
this->ChipID.ProcessorName =
"Unknown IDT\\Centaur\\VIA\\Zhaoxin family";
@@ -3295,6 +3298,9 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
case 0x3b:
this->ChipID.ProcessorName = "Zhaoxin kx6000";
break;
+ case 0x5b:
+ this->ChipID.ProcessorName = "Zhaoxin kh40000";
+ break;
default:
this->ChipID.ProcessorName = "Unknown Zhaoxin family";
return false;