Author: ion
Date: Wed Aug 23 10:35:33 2006
New Revision: 23662
URL:
http://svn.reactos.org/svn/reactos?rev=23662&view=rev
Log:
- Switch to ASM version of KfLowerIrql
Modified:
trunk/reactos/hal/halx86/generic/irq.S
trunk/reactos/hal/halx86/generic/irql.c
Modified: trunk/reactos/hal/halx86/generic/irq.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/irq.S?r…
==============================================================================
--- trunk/reactos/hal/halx86/generic/irq.S (original)
+++ trunk/reactos/hal/halx86/generic/irq.S Wed Aug 23 10:35:33 2006
@@ -404,7 +404,6 @@
.endfunc
#endif
-#if 0
.globl @KfLowerIrql@4
.func @KfLowerIrql@4
_@KfLowerIrql@4:
@@ -444,7 +443,6 @@
popf
ret
.endfunc
-#endif
.globl @KfRaiseIrql@4
.func @KfRaiseIrql@4
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 10:35:33 2006
@@ -22,33 +22,6 @@
/* FUNCTIONS ****************************************************************/
-VOID FASTCALL
-KfLowerIrql (KIRQL NewIrql)
-{
- ULONG Mask;
- ULONG Flags;
- UCHAR Pending;
-
- Ki386SaveFlags(Flags);
- Ki386DisableInterrupts();
-
- if (KeGetPcr()->Irql > DISPATCH_LEVEL)
- {
- Mask = KeGetPcr()->IDR | KiI8259MaskTable[NewIrql];
- WRITE_PORT_UCHAR((PUCHAR)0x21, (UCHAR)Mask);
- Mask >>= 8;
- WRITE_PORT_UCHAR((PUCHAR)0xa1, (UCHAR)Mask);
- }
-
-
- KeGetPcr()->Irql = NewIrql;
- Pending = SoftIntByteTable[KeGetPcr()->IRR];
- if (Pending > NewIrql)
- {
- SoftIntHandlerTable[Pending]();
- }
- Ki386RestoreFlags(Flags);
-}
VOID STDCALL HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
{