mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user