Author: cwittich
Date: Fri Mar 6 09:29:50 2015
New Revision: 66585
URL:
http://svn.reactos.org/svn/reactos?rev=66585&view=rev
Log:
[NTOSKRNL]
disable sysenter on Pentium Pro
http://lkml.iu.edu/hypermail/linux/kernel/0308.2/1534.html
CORE-6582
Modified:
trunk/reactos/ntoskrnl/ke/i386/cpu.c
Modified: trunk/reactos/ntoskrnl/ke/i386/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/cpu.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/cpu.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/cpu.c [iso-8859-1] Fri Mar 6 09:29:50 2015
@@ -306,7 +306,7 @@
/* Check if the CPU is too old to support SYSENTER */
if ((Prcb->CpuType < 6) ||
- ((Prcb->CpuType == 6) && (Prcb->CpuStep < 0x0303)))
+ ((Prcb->CpuType == 6) && (Prcb->CpuStep < 0x0300)))
{
/* Disable it */
Reg[3] &= ~0x800;