Author: hbelusca
Date: Mon Sep 23 21:12:39 2013
New Revision: 60345
URL:
http://svn.reactos.org/svn/reactos?rev=60345&view=rev
Log:
[BUGCODES]
Introduce the DRIVER_UNMAPPING_INVALID_VIEW bugcheck code and use it.
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
trunk/reactos/ntoskrnl/mm/ARM3/section.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] Mon Sep 23 21:12:39 2013
@@ -1389,7 +1389,15 @@
Facility=System
SymbolicName=DRIVER_PORTION_MUST_BE_NONPAGED
Language=English
-The driver mistakenly marked a part of it's image pageable instead of non-pageable.
+The driver mistakenly marked a part of its image pageable instead of non-pageable.
+.
+
+MessageId=0xD7
+Severity=Success
+Facility=System
+SymbolicName=DRIVER_UNMAPPING_INVALID_VIEW
+Language=English
+The driver is attempting to unmap an invalid memory address.
.
MessageId=0xD8
Modified: trunk/reactos/ntoskrnl/mm/ARM3/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/section.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/section.c [iso-8859-1] Mon Sep 23 21:12:39 2013
@@ -2117,7 +2117,7 @@
if (++Count == 2)
{
/* But if we overflew twice, then this is not a real mapping */
- KeBugCheckEx(0xD7, //DRIVER_UNMAPPING_INVALID_VIEW,
+ KeBugCheckEx(DRIVER_UNMAPPING_INVALID_VIEW,
(ULONG_PTR)Base,
1,
0,
@@ -2821,7 +2821,7 @@
if (++Count == 2)
{
/* But if we overflew twice, then this is not a real mapping */
- KeBugCheckEx(0xD7, //DRIVER_UNMAPPING_INVALID_VIEW,
+ KeBugCheckEx(DRIVER_UNMAPPING_INVALID_VIEW,
Base,
2,
0,