Author: cwittich
Date: Sun Jan 21 21:20:06 2007
New Revision: 25561
URL:
http://svn.reactos.org/svn/reactos?rev=25561&view=rev
Log:
set the correct limits for the GDT Entry in KiInitializeTSS2
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 (original)
+++ trunk/reactos/ntoskrnl/ke/i386/cpu.c Sun Jan 21 21:20:06 2007
@@ -544,7 +544,7 @@
{
/* Set the Limit */
TssEntry->LimitLow = sizeof(KTSS) - 1;
- TssEntry->HighWord.Bits.LimitHi &= 0xF0;
+ TssEntry->HighWord.Bits.LimitHi = 0;
}
/* Now clear the I/O Map */