|
OvmfPkg[all]
0.1
|
Data Structures | |
| struct | _EFI_LEGACY_INTERRUPT_PROTOCOL |
Macros | |
| #define | EFI_LEGACY_INTERRUPT_PROTOCOL_GUID |
Typedefs | |
| typedef struct _EFI_LEGACY_INTERRUPT_PROTOCOL | EFI_LEGACY_INTERRUPT_PROTOCOL |
| typedef EFI_STATUS(EFIAPI * | EFI_LEGACY_INTERRUPT_GET_NUMBER_PIRQS )(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, OUT UINT8 *NumberPirqs) |
| typedef EFI_STATUS(EFIAPI * | EFI_LEGACY_INTERRUPT_GET_LOCATION )(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, OUT UINT8 *Bus, OUT UINT8 *Device, OUT UINT8 *Function) |
| typedef EFI_STATUS(EFIAPI * | EFI_LEGACY_INTERRUPT_READ_PIRQ )(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, IN UINT8 PirqNumber, OUT UINT8 *PirqData) |
| typedef EFI_STATUS(EFIAPI * | EFI_LEGACY_INTERRUPT_WRITE_PIRQ )(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, IN UINT8 PirqNumber, IN UINT8 PirqData) |
Variables | |
| EFI_GUID | gEfiLegacyInterruptProtocolGuid |
This protocol abstracts the PIRQ programming from the generic EFI Compatibility Support Modules (CSMs).
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
| #define EFI_LEGACY_INTERRUPT_PROTOCOL_GUID |
| typedef EFI_STATUS(EFIAPI * EFI_LEGACY_INTERRUPT_GET_LOCATION)(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, OUT UINT8 *Bus, OUT UINT8 *Device, OUT UINT8 *Function) |
Gets the PCI location associated with this protocol.
| This | The Protocol instance pointer. |
| Bus | The PCI Bus. |
| Device | The PCI Device. |
| Function | The PCI Function. |
| EFI_SUCCESS | The Bus, Device, and Function were returned successfully. |
| typedef EFI_STATUS(EFIAPI * EFI_LEGACY_INTERRUPT_GET_NUMBER_PIRQS)(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, OUT UINT8 *NumberPirqs) |
Get the number of PIRQs this hardware supports.
| This | The protocol instance pointer. |
| NumberPirsq | The number of PIRQs that are supported. |
| EFI_SUCCESS | The number of PIRQs was returned successfully. |
| typedef struct _EFI_LEGACY_INTERRUPT_PROTOCOL EFI_LEGACY_INTERRUPT_PROTOCOL |
| typedef EFI_STATUS(EFIAPI * EFI_LEGACY_INTERRUPT_READ_PIRQ)(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, IN UINT8 PirqNumber, OUT UINT8 *PirqData) |
Read the PIRQ register and return the data
| This | The protocol instance pointer. |
| PirqNumber | The PIRQ register to read. |
| PirqData | The data read. |
| EFI_SUCCESS | The data was read. |
| EFI_INVALID_PARAMETER | Invalid PIRQ number. |
| typedef EFI_STATUS(EFIAPI * EFI_LEGACY_INTERRUPT_WRITE_PIRQ)(IN EFI_LEGACY_INTERRUPT_PROTOCOL *This, IN UINT8 PirqNumber, IN UINT8 PirqData) |
Write the specified PIRQ register with the given data.
| This | The protocol instance pointer. |
| PirqNumber | A PIRQ register to read. |
| PirqData | The data to write. |
| EFI_SUCCESS | The PIRQ was programmed. |
| EFI_INVALID_PARAMETER | Invalid PIRQ number. |
| EFI_GUID gEfiLegacyInterruptProtocolGuid |