Author: tkreuzer
Date: Sat Nov 7 19:11:35 2009
New Revision: 44009
URL:
http://svn.reactos.org/svn/reactos?rev=44009&view=rev
Log:
Fix KiDoubleFaultAbort
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] Sat Nov 7
19:11:35 2009
@@ -354,13 +354,18 @@
push 0
.allocstack 0x8
+ /* Reserve stack space for parameters */
+ sub rsp, 0x28
+ .allocstack 0x28
+
/* Bugcheck code UNEXPECTED_KERNEL_MODE_TRAP */
mov rcx, 0x0000007F
- /* Specify double fault */
+ /* Set double fault parameters */
mov rdx, 0x00000008
mov r8, 0
mov r9, 0
+ mov qword ptr [rsp + 0x20], 0
call _KeBugCheckEx