mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 09:48:30 +00:00
[NTOSKRNL]
Fix KiRaiseAssertion on amd64 svn path=/trunk/; revision=58775
This commit is contained in:
parent
9e746b60f4
commit
6f32c8afee
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@ FUNC KiBreakpointTrap
|
||||||
|
|
||||||
KiBreakpointTrapKMode:
|
KiBreakpointTrapKMode:
|
||||||
/* Dispatch the exception */
|
/* Dispatch the exception */
|
||||||
DispatchException STATUS_BREAKPOINT, 3, 0, 0, 0
|
DispatchException STATUS_BREAKPOINT, 3, BREAKPOINT_BREAK, 0, 0
|
||||||
|
|
||||||
/* Return */
|
/* Return */
|
||||||
ExitTrap TF_SAVE_ALL
|
ExitTrap TF_SAVE_ALL
|
||||||
|
@ -534,7 +534,7 @@ ENDFUNC
|
||||||
PUBLIC KiRaiseAssertion
|
PUBLIC KiRaiseAssertion
|
||||||
FUNC KiRaiseAssertion
|
FUNC KiRaiseAssertion
|
||||||
/* We have an error code */
|
/* 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) */
|
/* Decrement RIP to point to the INT2C instruction (2 bytes, not 1 like INT3) */
|
||||||
sub qword ptr [rbp + KTRAP_FRAME_Rip], 2
|
sub qword ptr [rbp + KTRAP_FRAME_Rip], 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue