- 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
This commit is contained in:
Alex Ionescu
2006-08-23 06:59:11 +00:00
parent 7fa6c080b5
commit 4ade91ae66
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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 */
-2
View File
@@ -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();