Author: sginsberg
Date: Fri Sep 26 17:11:10 2008
New Revision: 36541
URL:
http://svn.reactos.org/svn/reactos?rev=36541&view=rev
Log:
- Fix a couple of bugcodes with incorrect MessageId
- Add SYSTEM_THREAD_EXCEPTION_NOT_HANDLED make use of it
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
trunk/reactos/ntoskrnl/ps/thread.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] Fri Sep 26 17:11:10 2008
@@ -1032,8 +1032,6 @@
restart your computer.
.
-
-
MessageId=0x7D
Severity=Success
Facility=System
@@ -1043,6 +1041,14 @@
.
MessageId=0x7E
+Severity=Success
+Facility=System
+SymbolicName=SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
+Language=English
+SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
+.
+
+MessageId=0x7F
Severity=Success
Facility=System
SymbolicName=UNEXPECTED_KERNEL_MODE_TRAP
@@ -1057,7 +1063,7 @@
Advanced Startup Options, and then select Safe Mode.
.
-MessageId=0x7F
+MessageId=0x80
Severity=Success
Facility=System
SymbolicName=NMI_HARDWARE_FAILURE
@@ -1065,7 +1071,7 @@
Hardware malfunction
.
-MessageId=0x80
+MessageId=0x8E
Severity=Success
Facility=System
SymbolicName=KERNEL_MODE_EXCEPTION_NOT_HANDLED
@@ -1073,7 +1079,7 @@
KERNEL_MODE_EXCEPTION_NOT_HANDLED
.
-MessageId=0x8E
+MessageId=0x81
Severity=Success
Facility=System
SymbolicName=SPIN_LOCK_INIT_FAILURE
Modified: trunk/reactos/ntoskrnl/ps/thread.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/thread.c?rev=3…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] Fri Sep 26 17:11:10 2008
@@ -129,7 +129,7 @@
ExceptionPointers->ExceptionRecord->ExceptionInformation[3]);
/* Bugcheck the system */
- KeBugCheckEx(0x7E,
+ KeBugCheckEx(SYSTEM_THREAD_EXCEPTION_NOT_HANDLED,
ExceptionPointers->ExceptionRecord->ExceptionCode,
(ULONG_PTR)ExceptionPointers->ExceptionRecord->ExceptionAddress,
(ULONG_PTR)ExceptionPointers->ExceptionRecord,