mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
- Fix setting of GDT and IDT pointers in KPCR.
svn path=/trunk/; revision=10386
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user