mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[HAL]
- HalpEnableInterruptHandler: Set the IDT_LATCHED flag if the caller requested a latched interrupt svn path=/trunk/; revision=49255
This commit is contained in:
parent
7d6c0f7918
commit
f7f4cae9ba
1 changed files with 3 additions and 0 deletions
|
@ -509,6 +509,9 @@ HalpEnableInterruptHandler(IN UCHAR Flags,
|
||||||
IN PVOID Handler,
|
IN PVOID Handler,
|
||||||
IN KINTERRUPT_MODE Mode)
|
IN KINTERRUPT_MODE Mode)
|
||||||
{
|
{
|
||||||
|
/* Set the IDT_LATCHED flag for latched interrupts */
|
||||||
|
if (Mode == Latched) Flags |= IDT_LATCHED;
|
||||||
|
|
||||||
/* Register the vector */
|
/* Register the vector */
|
||||||
HalpRegisterVector(Flags, BusVector, SystemVector, Irql);
|
HalpRegisterVector(Flags, BusVector, SystemVector, Irql);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue