mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
- Remove HalpEndSystemInterrupt since we were already doing that code in HalpLowerIrql.
svn path=/trunk/; revision=23656
This commit is contained in:
parent
a2c9ae57c3
commit
bbd5e3237f
|
@ -27,27 +27,6 @@ UCHAR Table[8] =
|
||||||
|
|
||||||
extern ULONG KiI8259MaskTable[];
|
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
|
VOID STATIC
|
||||||
HalpLowerIrql(KIRQL NewIrql)
|
HalpLowerIrql(KIRQL NewIrql)
|
||||||
{
|
{
|
||||||
|
@ -136,7 +115,6 @@ VOID STDCALL HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
|
||||||
{
|
{
|
||||||
//DPRINT1("ENDING: %lx %lx\n", Irql, Unknown2);
|
//DPRINT1("ENDING: %lx %lx\n", Irql, Unknown2);
|
||||||
HalpLowerIrql(Irql);
|
HalpLowerIrql(Irql);
|
||||||
HalpEndSystemInterrupt(Irql);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue