Specifications
Code Definitions
109
EFI_LEGACY_INTERRUPT_PROTOCOL.ReadPirq()
Summary
Reads the given PIRQ register and returns the IRQ that is assigned to it.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_INTERRUPT_READ_PIRQ) (
IN EFI_LEGACY_INTERRUPT_PROTOCOL *This,
IN UINT8 PirqNumber,
OUT UINT8 *PirqData
)
Parameters
This
Indicates the EFI_LEGACY_INTERRUPT_PROTOCOL instance.
PirqNumber
PIRQ A = 0, PIRQ B = 1, and so on.
PirqData
IRQ assigned to this PIRQ
Description
This function reads the indicated PIRQ register and returns the IRQ that is assigned to it.
Status Codes Returned
EFI_SUCCESS The data was returned successfully.
EFI_INVALID_PARAMETER The PIRQ number invalid.










