Fix accidental change.

svn path=/trunk/; revision=11306
This commit is contained in:
Alex Ionescu 2004-10-17 03:55:05 +00:00
parent b3f049be4f
commit a5262fdf54

View file

@ -149,7 +149,6 @@ KeApplicationProcessorInit(VOID)
memset(Pcr, 0, PAGE_SIZE); memset(Pcr, 0, PAGE_SIZE);
Pcr->ProcessorNumber = (UCHAR)Offset; Pcr->ProcessorNumber = (UCHAR)Offset;
Pcr->Self = Pcr; Pcr->Self = Pcr;
Pcr->Tib.Self = &Pcr->Tib;
Pcr->Irql = HIGH_LEVEL; Pcr->Irql = HIGH_LEVEL;
/* Mark the end of the exception handler list */ /* Mark the end of the exception handler list */
@ -216,7 +215,6 @@ KeInit1(PCHAR CommandLine, PULONG LastKernelAddress)
KPCR = (PKPCR)KPCR_BASE; KPCR = (PKPCR)KPCR_BASE;
memset(KPCR, 0, PAGE_SIZE); memset(KPCR, 0, PAGE_SIZE);
KPCR->Self = (PKPCR)KPCR_BASE; KPCR->Self = (PKPCR)KPCR_BASE;
KPCR->Tib.Self = (PKPCR_TIB)KPCR_BASE;
KPCR->Irql = HIGH_LEVEL; KPCR->Irql = HIGH_LEVEL;
KPCR->GDT = KiBootGdt; KPCR->GDT = KiBootGdt;
KPCR->IDT = (PUSHORT)KiIdt; KPCR->IDT = (PUSHORT)KiIdt;