📄 intelinfo.~inc
字号:
cnameinfo.model_descr:='Pentium 4';
end;
256: begin
cnameinfo.codename:='Northwood/256K';
cnameinfo.revision:='D1';
cnameinfo.cpuname:='Intel Celeron Processor';
cnameinfo.procnum:=Intel_Celeron;
cnameinfo.model_descr:='Celeron';
end;
128: begin
cnameinfo.codename:='Northwood/128K';
cnameinfo.revision:='D1';
cnameinfo.cpuname:='Intel Celeron Processor';
cnameinfo.procnum:=Intel_Celeron;
cnameinfo.model_descr:='Celeron';
end;
end;
end;
end;
if (cnameinfo.procnum=Intel_P4) and ((fCPUid_m.std_brand=$E) or (fCPUid_m.std_brand=$F))
then
begin
cnameinfo.cpuname:='Intel Pentium 4 Mobile Processor';
cnameinfo.procnum:=Intel_P4_M; //! Pentium 4 Mobile
cnameinfo.model_descr:='Pentium 4 Mobile';
end;
if (cnameinfo.procnum=Intel_Celeron) and ((fCPUid_m.std_brand=$8) or (fCPUid_m.std_brand=$F))
then
begin
cnameinfo.cpuname:='Intel Celeron Mobile Processor';
cnameinfo.procnum:=Intel_P4_Celeron_M; //! Celeron Mobile
cnameinfo.model_descr:='Celeron Mobile';
end;
end;
3: begin
MultMethod:=P4NorthWoodMultMethod;
fClocks.DataRate:=4;
UpdateClocks;
cnameinfo.codename:='Prescott';
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.procnum:=Intel_P4;
cnameinfo.model_descr:='Pentium 4';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
cnameinfo.platform_descr:='Socket 478';
case fCPUid_m.std_stepping of
2: begin
cnameinfo.platform_descr:='LGA 775';
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.codename:='Prescott';
cnameinfo.model_descr:='Pentium 4';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
end;
3: begin
case flevel2.cache.size of
256: begin
cnameinfo.platform_descr:='Socket 478';
cnameinfo.cpuname:='Intel Celeron D Processor';
cnameinfo.procnum:=Intel_Celeron_D;
cnameinfo.model_descr:='Celeron D';
GetCeleronDInfo;
end;
1024: begin
cnameinfo.platform_descr:='LGA 775';
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.model_descr:='Pentium 4';
//CetP4Rating(i);
end;
end;
cnameinfo.codename:='Prescott';
cnameinfo.revision:='C0';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
if fCPUfeatures.PlatformID in [2, 3] then cnameinfo.platform_descr:='Socket 478'
else cnameinfo.platform_descr:='LGA 775';
end;
4: begin
if ((fCPUid_m.std_brand=$C) or (fCPUid_m.std_brand=$B)) then //Nocona
begin
cnameinfo.platform_descr:='Socket 604';
cnameinfo.cpuname:='Intel Xeon Processor';
cnameinfo.revision:='D0';
cnameinfo.procnum:=Intel_P4_Xeon;
cnameinfo.model_descr:='Xeon';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
case flevel2.cache.size of
1024: cnameinfo.codename:='Nocona';
2048: cnameinfo.codename:='Irwin';
end;
exit;
end;
case flevel2.cache.size of
256: begin
cnameinfo.platform_descr:='Socket 478';
cnameinfo.cpuname:='Intel Celeron D Processor';
cnameinfo.procnum:=Intel_Celeron_D;
cnameinfo.model_descr:='Celeron D';
GetCeleronDInfo;
end;
1024: begin
cnameinfo.platform_descr:='LGA 775';
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.model_descr:='Pentium 4';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
GetPentium4Info;
end;
end;
cnameinfo.codename:='Prescott';
cnameinfo.revision:='D0';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
if fCPUfeatures.PlatformID in [2, 3] then cnameinfo.platform_descr:='Socket 478'
else cnameinfo.platform_descr:='LGA 775';
str:=CPUid_m.ext_cpu_name;
if StrPos(PChar(str), PChar('6.00GHz'))<>'' then
begin
cnameinfo.cpuname:='Intel Pentium 4 ES Processor';
cnameinfo.procnum:=Intel_P4;
cnameinfo.model_descr:='Pentium 4';
cnameinfo.codename:='Prescott';
cnameinfo.platform_descr:='';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
end;
end;
7: begin
cnameinfo.platform_descr:='Socket 604';
cnameinfo.cpuname:='Intel Xeon Processor';
cnameinfo.codename:='Nocona';
cnameinfo.procnum:=Intel_P4_Xeon;
cnameinfo.model_descr:='Xeon';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
fPManagement.C1E:=1;
end;
end;
end;
4: begin
MultMethod:=P4NorthWoodMultMethod;
fClocks.DataRate:=4;
UpdateClocks;
if (fCPUid_m.std_brand=$C) and (fCPUid_m.ext_64bit=1) then //Here is a big question
begin
cnameinfo.platform_descr:='Socket 604';
cnameinfo.cpuname:='Intel Xeon MP Processor';
cnameinfo.procnum:=Intel_Xeon_MP;
cnameinfo.model_descr:='Xeon MP';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
if not flevel3.is_l3_cache then
begin
cnameinfo.codename:='Cranford';
if fCPUid_m.std_stepping=1 then cnameinfo.revision:='A0'
else if fCPUid_m.std_stepping=9 then cnameinfo.revision:='B0';
end
else
begin
cnameinfo.codename:='Potomac';
end;
exit;
end;
case fCPUid_m.std_stepping of
1, 9: begin
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.procnum:=Intel_P4;
cnameinfo.model_descr:='Pentium 4';
cnameinfo.codename:='Prescott';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
if fCPUid_m.std_stepping=1 then cnameinfo.revision:='E0'
else if fCPUid_m.std_stepping=9 then cnameinfo.revision:='G1';
if flevel2.cache.size=2048 then
begin
cnameinfo.codename:='Prescott 2M';
cnameinfo.technological.transistors:='169M';
cnameinfo.technological.diesize:='135';
end;
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
if fCPUfeatures.PlatformID in [2, 3] then cnameinfo.platform_descr:='Socket 478'
else cnameinfo.platform_descr:='LGA 775';
fPManagement.C1E:=1;
GetPentium4Info;
if flevel2.cache.size=256 then
begin
cnameinfo.cpuname:='Intel Celeron D Processor';
cnameinfo.procnum:=Intel_Celeron_D;
cnameinfo.model_descr:='Celeron D';
if (fCPUfeatures.NX=0) then cnameinfo.platform_descr:='Socket 478';
GetCeleronDInfo;
end;
if (fCPUid_m.std_brand=$B) or ((fCPUfeatures.PlatformID=0) and (oHWIO.isLoad)) then //Nocona
begin
cnameinfo.revision:='E0';
cnameinfo.cpuname:='Intel Xeon Processor';
cnameinfo.procnum:=Intel_P4_Xeon;
cnameinfo.model_descr:='Xeon';
cnameinfo.platform_descr:='Socket 604';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
cnameinfo.rating:='';
case flevel2.cache.size of
1024: cnameinfo.codename:='Nocona';
2048: cnameinfo.codename:='Irwin';
end;
end;
str:=CPUid_m.ext_cpu_name;
if StrPos(PChar(str), PChar('6.00GHz'))<>'' then
begin
cnameinfo.cpuname:='Intel Pentium 4 ES Processor';
cnameinfo.procnum:=Intel_P4;
cnameinfo.model_descr:='Pentium 4';
cnameinfo.codename:='Prescott';
cnameinfo.platform_descr:='';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
end;
end;
2: begin
cnameinfo.procnum:=Intel_P4;
cnameinfo.codename:='Prescott';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
cnameinfo.revision:='G0';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
cnameinfo.platform_descr:='LGA 775';
GetPentium4Info;
if flevel2.cache.size=256 then
begin
cnameinfo.cpuname:='Intel Celeron D Processor';
cnameinfo.procnum:=Intel_Celeron_D;
cnameinfo.model_descr:='Celeron D';
if (fCPUfeatures.NX=0) then cnameinfo.platform_descr:='Socket 478';
GetCeleronDInfo;
end;
if fCPUfeatures.PlatformID in [2, 3] then cnameinfo.platform_descr:='Socket 478'
else cnameinfo.platform_descr:='LGA 775';
end;
3, 10: begin
fPManagement.C1E:=1;
cnameinfo.platform_descr:='LGA 775';
if fCPUfeatures.PlatformID in [2, 3] then cnameinfo.platform_descr:='Socket 478'
else cnameinfo.platform_descr:='LGA 775';
cnameinfo.cpuname:='Intel Pentium 4 Processor';
cnameinfo.codename:='Prescott';
cnameinfo.model_descr:='Pentium 4';
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
if fCPUid_m.std_stepping=3 then cnameinfo.revision:='N0'
else if fCPUid_m.std_stepping=10 then cnameinfo.revision:='R0';
if flevel2.cache.size=2048 then
begin
cnameinfo.codename:='Prescott 2M';
cnameinfo.technological.transistors:='169M';
cnameinfo.technological.diesize:='135';
end;
cnameinfo.procnum:=Intel_P4;
cnameinfo.technological.transistors:='125M';
cnameinfo.technological.diesize:='112';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
GetPentium4Info;
if (fClocks.BusOriginal>=266) then
begin
cnameinfo.procnum:=Intel_P4_Extreme;
cnameinfo.cpuname:='Intel Pentium 4 XE Processor';
cnameinfo.model_descr:='Pentium 4 XE';
cnameinfo.rating:='';
end;
end;
4, 7: begin
cnameinfo.platform_descr:='LGA 775';
cnameinfo.cpuname:='Intel Pentium D Processor';
cnameinfo.procnum:=Intel_Pentium_D;
cnameinfo.model_descr:='Pentium D';
cnameinfo.codename:='Smithfield';
if fCPUid_m.std_stepping=4 then cnameinfo.revision:='A0'
else if fCPUid_m.std_stepping=7 then cnameinfo.revision:='B0';
flevel2.CachePerCPU:=2;
cnameinfo.technological.transistors:='230M';
cnameinfo.technological.diesize:='206';
cnameinfo.technological.process:='CMOS Cu 0.09祄 CDO';
fCPUfeatures.HTT:=0; //TO-DO: REMOVE ME: A hack
if (CPUCount >= 4) then //Intel Pentium XE Processor
begin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -