Specifications

98
EFI_LEGACY_8259_PROTOCOL.SetMode()
Summary
Sets the mode of the PICs.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_8259_SET_MODE) (
IN EFI_LEGACY_8259_PROTOCOL *This,
IN EFI_8259_MODE Mode,
IN UINT16 *Mask, OPTIONAL
IN UINT16 *EdgeLevel OPTIONAL
)
Parameters
This
Indicates the EFI_LEGACY_8259_PROTOCOL instance.
Mode
16-bit real or 32-bit protected mode. Type EFI_8259_MODE is defined in "Related
Definitions" below.
Mask
The value with which to set the interrupt mask.
EdgeLevel
The value with which to set the edge/level mask.
Description
This function switches from one mode to the other mode. This procedure is not to be
invoked multiple times for changing masks in the same mode but changing masks. Use
the EFI_LEGACY_8259_PROTOCOL.SetMask() function instead.
Related Definitions
//************************************************
// EFI_8259_MODE
//************************************************
typedef enum {
Efi8259LegacyMode,