- Fix setting of GDT and IDT pointers in KPCR.

svn path=/trunk/; revision=10386
This commit is contained in:
Filip Navara 2004-08-04 02:24:40 +00:00
parent 47b5abbd99
commit f9ee38ed2b

View file

@ -179,8 +179,8 @@ KeInit1(VOID)
memset(KPCR, 0, PAGE_SIZE);
KPCR->Self = (PKPCR)KPCR_BASE;
KPCR->Irql = HIGH_LEVEL;
KPCR->GDT = (PUSHORT)&KiBootGdt;
KPCR->IDT = (PUSHORT)&KiIdt;
KPCR->GDT = KiBootGdt;
KPCR->IDT = (PUSHORT)KiIdt;
KPCR->TSS = &KiBootTss;
KPCR->ProcessorNumber = 0;
KiPcrInitDone = 1;