Specifications

102
EFI_LEGACY_8259_PROTOCOL.EnableIrq()
Summary
Enables the specified IRQ.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_8259_ENABLE_IRQ) (
IN EFI_LEGACY_8259_PROTOCOL *This,
IN EFI_8259_IRQ Irq,
IN BOOLEAN LevelTriggered
)
Parameters
This
Indicates the EFI_LEGACY_8259_PROTOCOL instance.
Irq
8259 IRQ0–IRQ15. Type EFI_8259_IRQ is defined in
EFI_LEGACY_8259_PROTOCOL.GetVector().
LevelTriggered
0 = Edge triggered; 1 = Level triggered.
Description
This function enables the specified Irq by unmasking the interrupt in the 32-bit mode
environment’s 8259 PIC.
Status Codes Returned
EFI_SUCCESS The
Irq
was enabled on the 8259 PIC.
EFI_INVALID_PARAMETER The
Irq
is not valid.