MmMapLockedPagesSpecifyCache: Raise STATUS_ACCESS_VIOLATION instead of bugchecking when mapping into usermode.
Modified: trunk/reactos/ntoskrnl/mm/mdl.c

Modified: trunk/reactos/ntoskrnl/mm/mdl.c
--- trunk/reactos/ntoskrnl/mm/mdl.c	2005-01-13 22:43:10 UTC (rev 13035)
+++ trunk/reactos/ntoskrnl/mm/mdl.c	2005-01-13 23:47:10 UTC (rev 13036)
@@ -788,8 +788,9 @@
             return NULL;
          }
 
-         /* FIXME: Raise an exception instead of bugchecking */
-         KEBUGCHECK(0);
+         /* Throw exception */
+         ExRaiseStatus(STATUS_ACCESS_VIOLATION);
+         ASSERT(0);
       }
 
       Mdl->Process = CurrentProcess;