Author: weiden
Date: Sun Oct 15 17:07:03 2006
New Revision: 24524
URL:
http://svn.reactos.org/svn/reactos?rev=24524&view=rev
Log:
Make some strings const
Modified:
trunk/reactos/ntoskrnl/ke/i386/cpu.c
Modified: trunk/reactos/ntoskrnl/ke/i386/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/cpu.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/cpu.c (original)
+++ trunk/reactos/ntoskrnl/ke/i386/cpu.c Sun Oct 15 17:07:03 2006
@@ -75,18 +75,18 @@
BOOLEAN KiSMTProcessorsPresent;
/* CPU Signatures */
-CHAR CmpIntelID[] = "GenuineIntel";
-CHAR CmpAmdID[] = "AuthenticAMD";
-CHAR CmpCyrixID[] = "CyrixInstead";
-CHAR CmpTransmetaID[] = "GenuineTMx86";
-CHAR CmpCentaurID[] = "CentaurHauls";
-CHAR CmpRiseID[] = "RiseRiseRise";
+static const CHAR CmpIntelID[] = "GenuineIntel";
+static const CHAR CmpAmdID[] = "AuthenticAMD";
+static const CHAR CmpCyrixID[] = "CyrixInstead";
+static const CHAR CmpTransmetaID[] = "GenuineTMx86";
+static const CHAR CmpCentaurID[] = "CentaurHauls";
+static const CHAR CmpRiseID[] = "RiseRiseRise";
/* SUPPORT ROUTINES FOR MSVC COMPATIBILITY ***********************************/
VOID
NTAPI
-CPUID(IN ULONG CpuInfo[4],
+CPUID(OUT ULONG CpuInfo[4],
IN ULONG InfoType)
{
Ki386Cpuid(InfoType, &CpuInfo[0], &CpuInfo[1], &CpuInfo[2],
&CpuInfo[3]);