Author: dgorbachev
Date: Sat Sep 24 18:13:57 2011
New Revision: 53843
URL:
http://svn.reactos.org/svn/reactos?rev=53843&view=rev
Log:
[BUGCODES]
Bug check code 0x5d is UNSUPPORTED_PROCESSOR.
[NTOSKRNL]
Use it.
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
trunk/reactos/ntoskrnl/ke/i386/kiinit.c
Modified: trunk/reactos/include/reactos/mc/bugcodes.mc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/bugcode…
==============================================================================
--- trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] Sat Sep 24 18:13:57 2011
@@ -825,9 +825,9 @@
MessageId=0x5D
Severity=Success
Facility=System
-SymbolicName=HEAP_INITIALIZATION_FAILED
-Language=English
-HEAP_INITIALIZATION_FAILED
+SymbolicName=UNSUPPORTED_PROCESSOR
+Language=English
+UNSUPPORTED_PROCESSOR
.
MessageId=0x5E
Modified: trunk/reactos/ntoskrnl/ke/i386/kiinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/kiinit.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/kiinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/kiinit.c [iso-8859-1] Sat Sep 24 18:13:57 2011
@@ -407,7 +407,7 @@
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();
@@ -480,7 +480,7 @@
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],