Author: tkreuzer
Date: Sat Nov 7 18:43:55 2009
New Revision: 44008
URL:
http://svn.reactos.org/svn/reactos?rev=44008&view=rev
Log:
- Remove useless check in KeInvalidateAllCaches
- implement KiDoubleFaultAbort
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/cpu.c
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/cpu.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/cpu.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/cpu.c [iso-8859-1] Sat Nov 7
18:43:55 2009
@@ -601,9 +601,6 @@
NTAPI
KeInvalidateAllCaches(VOID)
{
- /* Only supported on Pentium Pro and higher */
- if (KeI386CpuType < 6) return FALSE;
-
/* Invalidate all caches */
__wbinvd();
return TRUE;
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
18:43:55 2009
@@ -354,7 +354,15 @@
push 0
.allocstack 0x8
- UNIMPLEMENTED KiDoubleFaultAbort
+ /* Bugcheck code UNEXPECTED_KERNEL_MODE_TRAP */
+ mov rcx, 0x0000007F
+
+ /* Specify double fault */
+ mov rdx, 0x00000008
+ mov r8, 0
+ mov r9, 0
+
+ call _KeBugCheckEx
jmp $
.endproc