Author: ion
Date: Wed Aug 23 04:39:52 2006
New Revision: 23656
URL:
http://svn.reactos.org/svn/reactos?rev=23656&view=rev
Log:
- Remove HalpEndSystemInterrupt since we were already doing that code in HalpLowerIrql.
Modified:
trunk/reactos/hal/halx86/generic/irql.c
Modified: trunk/reactos/hal/halx86/generic/irql.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/irql.c?…
==============================================================================
--- trunk/reactos/hal/halx86/generic/irql.c (original)
+++ trunk/reactos/hal/halx86/generic/irql.c Wed Aug 23 04:39:52 2006
@@ -26,27 +26,6 @@
/* FUNCTIONS ****************************************************************/
extern ULONG KiI8259MaskTable[];
-
-VOID HalpEndSystemInterrupt(KIRQL Irql)
-/*
- * FUNCTION: Enable all irqs with higher priority.
- */
-{
- ULONG flags;
- ULONG Mask;
-
- /* Interrupts should be disable while enabling irqs of both pics */
- Ki386SaveFlags(flags);
- Ki386DisableInterrupts();
-
- Mask = KeGetPcr()->IDR | KiI8259MaskTable[Irql];
- WRITE_PORT_UCHAR((PUCHAR)0x21, (UCHAR)Mask);
- Mask >>= 8;
- WRITE_PORT_UCHAR((PUCHAR)0xa1, (UCHAR)Mask);
-
- /* restore flags */
- Ki386RestoreFlags(flags);
-}
VOID STATIC
HalpLowerIrql(KIRQL NewIrql)
@@ -136,7 +115,6 @@
{
//DPRINT1("ENDING: %lx %lx\n", Irql, Unknown2);
HalpLowerIrql(Irql);
- HalpEndSystemInterrupt(Irql);
}
/* EOF */