Specifications
Code Definitions
97
EFI_LEGACY_8259_PROTOCOL.SetMask()
Summary
Sets the current 16-bit real mode and 32-bit protected-mode IRQ masks.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_8259_SET_MASK) (
IN EFI_LEGACY_8259_PROTOCOL *This,
INT UINT16 *LegacyMask, OPTIONAL
IN UINT16 *LegacyEdgeLevel, OPTIONAL
IN UINT16 *ProtectedMask, OPTIONAL
IN UINT16 *ProtectedEdgeLevel OPTIONAL
)
Parameters
This
Indicates the EFI_LEGACY_8259_PROTOCOL instance.
LegacyMask
16-bit mode interrupt mask for IRQ0–IRQ15.
LegacyEdgeLevel
16-bit mode edge/level mask for IRQ0–IRQ15.
ProtectedMask
32-bit mode interrupt mask for IRQ0–IRQ15.
ProtectedEdgeLevel
32-bit mode edge/level mask for IRQ0–IRQ15.
Description
This function sets 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.










