Author: tkreuzer
Date: Wed Apr 17 06:05:14 2013
New Revision: 58775
URL:
http://svn.reactos.org/svn/reactos?rev=58775&view=rev
Log:
[NTOSKRNL]
Fix KiRaiseAssertion on amd64
Modified:
trunk/reactos/ntoskrnl/ke/amd64/trap.S
Modified: trunk/reactos/ntoskrnl/ke/amd64/trap.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/amd64/trap.S?r…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] Wed Apr 17 06:05:14 2013
@@ -224,7 +224,7 @@
KiBreakpointTrapKMode:
/* Dispatch the exception */
- DispatchException STATUS_BREAKPOINT, 3, 0, 0, 0
+ DispatchException STATUS_BREAKPOINT, 3, BREAKPOINT_BREAK, 0, 0
/* Return */
ExitTrap TF_SAVE_ALL
@@ -534,7 +534,7 @@
PUBLIC KiRaiseAssertion
FUNC KiRaiseAssertion
/* We have an error code */
- EnterTrap (TF_HAS_ERROR_CODE OR TF_SAVE_ALL)
+ EnterTrap (TF_SAVE_ALL)
/* Decrement RIP to point to the INT2C instruction (2 bytes, not 1 like INT3) */
sub qword ptr [rbp + KTRAP_FRAME_Rip], 2