From 4ade91ae661d5a34f2d1e66a4f26abc44bd6ef5b Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 23 Aug 2006 06:59:11 +0000 Subject: [PATCH] - Kill two more hacks. IDR isn't hacked at 0xFFFFFFA on startup anymore, and the PIC is correctly set to 0xFA at startup. svn path=/trunk/; revision=23666 --- reactos/hal/halx86/generic/irq.S | 2 +- reactos/hal/halx86/up/halinit_up.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/hal/halx86/generic/irq.S b/reactos/hal/halx86/generic/irq.S index 8b950c7c510..8a96c3aad60 100644 --- a/reactos/hal/halx86/generic/irq.S +++ b/reactos/hal/halx86/generic/irq.S @@ -134,7 +134,7 @@ InitLoop: jmp $+2 /* Mask all interrupts */ - mov al, 0xFA // FIXME: Should be 0xFF + mov al, 0xFF out dx, al /* Check if we're done, otherwise initialize next PIC */ diff --git a/reactos/hal/halx86/up/halinit_up.c b/reactos/hal/halx86/up/halinit_up.c index 61602286be6..8b4824abf32 100644 --- a/reactos/hal/halx86/up/halinit_up.c +++ b/reactos/hal/halx86/up/halinit_up.c @@ -21,8 +21,6 @@ VOID HalpInitPhase0(PROS_LOADER_PARAMETER_BLOCK LoaderBlock) { HalpInitPICs(); - /* FIXME: Big-ass hack. First, should be 0xFFFFFFFF, second, shouldnt' be done here */ - KeGetPcr()->IDR = 0xFFFFFFFA; /* Setup busy waiting */ HalpCalibrateStallExecution();