Fix idt descriptor code properly
Modified: trunk/reactos/hal/halx86/mp/apic.c
_____
Modified: trunk/reactos/hal/halx86/mp/apic.c
--- trunk/reactos/hal/halx86/mp/apic.c 2005-06-29 17:22:57 UTC (rev
16322)
+++ trunk/reactos/hal/halx86/mp/apic.c 2005-06-29 17:36:05 UTC (rev
16323)
@@ -908,8 +908,8 @@
KDESCRIPTOR *idt;
idt = (KDESCRIPTOR*)((ULONG)KeGetCurrentKPCR()->IDT + index *
sizeof(KDESCRIPTOR));
- idt->Limit = ((address)&0xffff) + (KERNEL_CS << 16);
- idt->Base = 0x8e00 + ((address)&0xffff0000);
+ idt->Limit = address & 0xffff;
+ idt->Base = 0x8e00 + (address &0xffff0000);
}
VOID HaliInitBSP(VOID)
Show replies by date