Specifications

96
EFI_LEGACY_8259_PROTOCOL.GetMask()
Summary
Gets the current 16-bit real mode and 32-bit protected-mode IRQ masks.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_8259_GET_MASK) (
IN EFI_LEGACY_8259_PROTOCOL *This,
OUT UINT16 *LegacyMask, OPTIONAL
OUT UINT16 *LegacyEdgeLevel, OPTIONAL
OUT UINT16 *ProtectedMask, OPTIONAL
OUT UINT16 *ProtectedEdgeLevel OPTIONAL
)
Parameters
This
Indicates the EFI_LEGACY_8259_PROTOCOL instance.
LegacyMask
16-bit mode interrupt mask for IRQ0IRQ15.
LegacyEdgeLevel
16-bit mode edge/level mask for IRQ0IRQ15.
ProtectedMask
32-bit mode interrupt mask for IRQ0IRQ15.
ProtectedEdgeLevel
32-bit mode edge/level mask for IRQ0IRQ15.
Description
This function gets the current settings of the interrupt mask and edge/level mask for the
16-bit real-mode operation and 32-bit protected-mode operation.
Status Codes Returned
EFI_SUCCESS The 8259 PIC was programmed successfully.
EFI_DEVICE_ERROR There was an error while reading the 8259 PIC.