[PATCH 1/3] kwsys: fix typos
Rolf Eike Beer
eike at sf-mail.de
Sat Sep 8 11:08:36 EDT 2012
---
Source/kwsys/SystemInformation.cxx | 10 +++++-----
1 Datei ge=C3=A4ndert, 5 Zeilen hinzugef=C3=BCgt(+), 5 Zeilen entfernt=
(-)
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemIn=
formation.cxx
index e1ee873..445af1a 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -941,7 +941,7 @@ bool SystemInformationImplementation::RetrieveCPUFe=
atures()
#endif
; <<CPUID>>=20
; eax =3D 1 --> eax: CPU ID - bits 31..16 - unused, bits 15..12 =
- type, bits 11..8 - family, bits 7..4 - model, bits 3..0 - mask revisi=
on
- ; ebx: 31..24 - default APIC ID, 23..16 - logical process=
sor ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
+ ; ebx: 31..24 - default APIC ID, 23..16 - logical process=
or ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
; edx: CPU feature flags
mov eax,1
CPUID_INSTRUCTION
@@ -1080,7 +1080,7 @@ bool SystemInformationImplementation::RetrieveCPU=
Identity()
=20
; <<CPUID>>=20
; eax =3D 1 --> eax: CPU ID - bits 31..16 - unused, bits 15..12 =
- type, bits 11..8 - family, bits 7..4 - model, bits 3..0 - mask revisi=
on
- ; ebx: 31..24 - default APIC ID, 23..16 - logical process=
sor ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
+ ; ebx: 31..24 - default APIC ID, 23..16 - logical process=
or ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
; edx: CPU feature flags
mov eax,1
CPUID_INSTRUCTION
@@ -1707,7 +1707,7 @@ bool SystemInformationImplementation::RetrieveExt=
endedCPUFeatures()
#endif
; <<CPUID>>=20
; eax =3D 0x80000001 --> eax: CPU ID - bits 31..16 - unused, bit=
s 15..12 - type, bits 11..8 - family, bits 7..4 - model, bits 3..0 - ma=
sk revision
- ; ebx: 31..24 - default APIC ID, 23..16 - logical pr=
ocesssor ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
+ ; ebx: 31..24 - default APIC ID, 23..16 - logical pr=
ocessor ID, 15..8 - CFLUSH chunk size , 7..0 - brand ID
; edx: CPU feature flags
mov eax,0x80000001
CPUID_INSTRUCTION
@@ -2343,7 +2343,7 @@ int SystemInformationImplementation::RetreiveInfo=
rmationFromCpuInfoFile()
this->NumberOfLogicalCPU =3D atoi(cpucount.c_str());
#endif
// gotta have one, and if this is 0 then we get a / by 0n=20
- // beter to have a bad answer than a crash
+ // better to have a bad answer than a crash
if(this->NumberOfPhysicalCPU <=3D 0)
{
this->NumberOfPhysicalCPU =3D 1;
@@ -2352,7 +2352,7 @@ int SystemInformationImplementation::RetreiveInfo=
rmationFromCpuInfoFile()
this->Features.ExtendedFeatures.LogicalProcessorsPerPhysical=3D
this->NumberOfLogicalCPU/this->NumberOfPhysicalCPU;
=20
- // CPU speed (checking only the first proc
+ // CPU speed (checking only the first processor)
kwsys_stl::string CPUSpeed =3D this->ExtractValueFromCpuInfoFile(buf=
fer,"cpu MHz");
this->CPUSpeedInMHz =3D static_cast<float>(atof(CPUSpeed.c_str()));
=20
--=20
1.7.11.5
--nextPart1521271.jnsFObbNLZ
Content-Disposition: attachment; filename="0002-kwsys-sum-up-all-caches-found-in-proc-cpuinfo.patch"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; charset="UTF-8"; name="0002-kwsys-sum-up-all-caches-found-in-proc-cpuinfo.patch"
More information about the cmake-developers
mailing list