[BUGCODES]

Bug check code 0x5d is UNSUPPORTED_PROCESSOR.

[NTOSKRNL]
Use it.

svn path=/trunk/; revision=53843
This commit is contained in:
Dmitry Gorbachev 2011-09-24 18:13:57 +00:00
parent 6bed73a4e1
commit 951066d094
2 changed files with 4 additions and 4 deletions

View file

@ -825,9 +825,9 @@ HAL_INITIALIZATION_FAILED
MessageId=0x5D MessageId=0x5D
Severity=Success Severity=Success
Facility=System Facility=System
SymbolicName=HEAP_INITIALIZATION_FAILED SymbolicName=UNSUPPORTED_PROCESSOR
Language=English Language=English
HEAP_INITIALIZATION_FAILED UNSUPPORTED_PROCESSOR
. .
MessageId=0x5E MessageId=0x5E

View file

@ -407,7 +407,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
PoInitializePrcb(Prcb); PoInitializePrcb(Prcb);
/* Bugcheck if this is a 386 CPU */ /* 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 */ /* Get the processor features for the CPU */
FeatureBits = KiGetFeatureBits(); FeatureBits = KiGetFeatureBits();
@ -480,7 +480,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
RtlCopyMemory(Vendor, Prcb->VendorString, sizeof(Vendor)); RtlCopyMemory(Vendor, Prcb->VendorString, sizeof(Vendor));
/* Bugcheck the system. Windows *requires* this */ /* Bugcheck the system. Windows *requires* this */
KeBugCheckEx(0x5D, KeBugCheckEx(UNSUPPORTED_PROCESSOR,
(1 << 24 ) | (Prcb->CpuType << 16) | Prcb->CpuStep, (1 << 24 ) | (Prcb->CpuType << 16) | Prcb->CpuStep,
Vendor[0], Vendor[0],
Vendor[1], Vendor[1],