[BUGCODES]
authorDmitry Gorbachev <gorbachev@reactos.org>
Sat, 24 Sep 2011 18:13:57 +0000 (18:13 +0000)
committerDmitry Gorbachev <gorbachev@reactos.org>
Sat, 24 Sep 2011 18:13:57 +0000 (18:13 +0000)
Bug check code 0x5d is UNSUPPORTED_PROCESSOR.

[NTOSKRNL]
Use it.

svn path=/trunk/; revision=53843

reactos/include/reactos/mc/bugcodes.mc
reactos/ntoskrnl/ke/i386/kiinit.c

index 0c5237a..44d720b 100644 (file)
@@ -825,9 +825,9 @@ HAL_INITIALIZATION_FAILED
 MessageId=0x5D
 Severity=Success
 Facility=System
 MessageId=0x5D
 Severity=Success
 Facility=System
-SymbolicName=HEAP_INITIALIZATION_FAILED
+SymbolicName=UNSUPPORTED_PROCESSOR
 Language=English
 Language=English
-HEAP_INITIALIZATION_FAILED
+UNSUPPORTED_PROCESSOR
 .
 
 MessageId=0x5E
 .
 
 MessageId=0x5E
index bf3be1d..21ed127 100644 (file)
@@ -407,7 +407,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
     PoInitializePrcb(Prcb);
 
     /* Bugcheck if this is a 386 CPU */
     PoInitializePrcb(Prcb);
 
     /* Bugcheck if this is a 386 CPU */
-    if (Prcb->CpuType == 3) KeBugCheckEx(0x5D, 0x386, 0, 0, 0);
+    if (Prcb->CpuType == 3) KeBugCheckEx(UNSUPPORTED_PROCESSOR, 0x386, 0, 0, 0);
 
     /* Get the processor features for the CPU */
     FeatureBits = KiGetFeatureBits();
 
     /* Get the processor features for the CPU */
     FeatureBits = KiGetFeatureBits();
@@ -480,7 +480,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
             RtlCopyMemory(Vendor, Prcb->VendorString, sizeof(Vendor));
 
             /* Bugcheck the system. Windows *requires* this */
             RtlCopyMemory(Vendor, Prcb->VendorString, sizeof(Vendor));
 
             /* Bugcheck the system. Windows *requires* this */
-            KeBugCheckEx(0x5D,
+            KeBugCheckEx(UNSUPPORTED_PROCESSOR,
                          (1 << 24 ) | (Prcb->CpuType << 16) | Prcb->CpuStep,
                          Vendor[0],
                          Vendor[1],
                          (1 << 24 ) | (Prcb->CpuType << 16) | Prcb->CpuStep,
                          Vendor[0],
                          Vendor[1],