/** @file\r
This protocol abstracts the PIRQ programming from the generic EFI Compatibility Support Modules (CSMs).\r
\r
- Copyright (c) 2007 - 2009, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Revision Reference:\r
- This protocol is defined in Framework for EFI Compatibility Support Module spec\r
+ This protocol is defined in Framework for the EFI Compatibility Support Module specification.\r
Version 0.97.\r
\r
**/\r
#ifndef _EFI_LEGACY_INTERRUPT_H_\r
#define _EFI_LEGACY_INTERRUPT_H_\r
\r
-#include <PiDxe.h>\r
\r
#define EFI_LEGACY_INTERRUPT_PROTOCOL_GUID \\r
{ \\r
/**\r
Get the number of PIRQs this hardware supports.\r
\r
- @param This Protocol instance pointer.\r
- @param NumberPirsq Number of PIRQs that are supported.\r
+ @param This The protocol instance pointer.\r
+ @param NumberPirsq The number of PIRQs that are supported.\r
\r
@retval EFI_SUCCESS The number of PIRQs was returned successfully.\r
\r
/**\r
Gets the PCI location associated with this protocol.\r
\r
- @param This Protocol instance pointer.\r
- @param Bus PCI Bus\r
- @param Device PCI Device\r
- @param Function PCI Function\r
+ @param This The Protocol instance pointer.\r
+ @param Bus The PCI Bus.\r
+ @param Device The PCI Device.\r
+ @param Function The PCI Function.\r
\r
- @retval EFI_SUCCESS The Bus, Device, and Function were returned successfully\r
+ @retval EFI_SUCCESS The Bus, Device, and Function were returned successfully.\r
\r
**/\r
typedef\r
/**\r
Read the PIRQ register and return the data\r
\r
- @param This Protocol instance pointer.\r
- @param PirqNumber PIRQ register to read\r
- @param PirqData Data read\r
+ @param This The protocol instance pointer.\r
+ @param PirqNumber The PIRQ register to read.\r
+ @param PirqData The data read.\r
\r
- @retval EFI_SUCCESS Data was read\r
- @retval EFI_INVALID_PARAMETER Invalid PIRQ number\r
+ @retval EFI_SUCCESS The data was read.\r
+ @retval EFI_INVALID_PARAMETER Invalid PIRQ number.\r
\r
**/\r
typedef\r
/**\r
Write the specified PIRQ register with the given data.\r
\r
- @param This Protocol instance pointer.\r
- @param PirqNumber PIRQ register to read.\r
- @param PirqData Data to write.\r
+ @param This The protocol instance pointer.\r
+ @param PirqNumber A PIRQ register to read.\r
+ @param PirqData The data to write.\r
\r
- @retval EFI_SUCCESS The PIRQ was programmed\r
- @retval EFI_INVALID_PARAMETER Invalid PIRQ number\r
+ @retval EFI_SUCCESS The PIRQ was programmed.\r
+ @retval EFI_INVALID_PARAMETER Invalid PIRQ number.\r
\r
**/\r
typedef\r
EFI_LEGACY_INTERRUPT_GET_NUMBER_PIRQS GetNumberPirqs;\r
\r
///\r
- /// Gets the PCI bus, device, and function that associated with this protocol.\r
+ /// Gets the PCI bus, device, and function that is associated with this protocol.\r
///\r
EFI_LEGACY_INTERRUPT_GET_LOCATION GetLocation;\r
\r