[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 6d990a9..1077b11 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -1670,7 +1670,7 @@ bool SystemInformationImplementation::RetrieveCPU=
Features()
 #endif
       ; <<CPUID>>
       ; 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
@@ -1809,7 +1809,7 @@ bool SystemInformationImplementation::RetrieveCPU=
Identity()
=20
       ; <<CPUID>>
       ; 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
@@ -2436,7 +2436,7 @@ bool SystemInformationImplementation::RetrieveExt=
endedCPUFeatures()
 #endif
       ; <<CPUID>>
       ; 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
@@ -3073,7 +3073,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
-  // 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;
@@ -3082,7 +3082,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


--nextPart3387433.jFLW4W1fOq
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