MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
/** @file
|
||||
The default version of EFI_PEI_PCI_CFG2_PPI support published by PeiServices in
|
||||
PeiCore initialization phase.
|
||||
|
||||
EFI_PEI_PCI_CFG2_PPI is installed by the PEIM which supports a PCI root bridge.
|
||||
When PeiCore is started, the default version of EFI_PEI_PCI_CFG2_PPI will be assigned
|
||||
|
||||
EFI_PEI_PCI_CFG2_PPI is installed by the PEIM which supports a PCI root bridge.
|
||||
When PeiCore is started, the default version of EFI_PEI_PCI_CFG2_PPI will be assigned
|
||||
to PeiServices table.
|
||||
|
||||
Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
#include "PeiMain.h"
|
||||
|
||||
///
|
||||
/// This default instance of EFI_PEI_PCI_CFG2_PPI install assigned to EFI_PEI_SERVICE.PciCfg
|
||||
/// This default instance of EFI_PEI_PCI_CFG2_PPI install assigned to EFI_PEI_SERVICE.PciCfg
|
||||
/// when PeiCore's initialization.
|
||||
///
|
||||
EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {
|
||||
@@ -32,9 +32,9 @@ EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {
|
||||
/**
|
||||
Reads from a given location in the PCI configuration space.
|
||||
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
|
||||
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
|
||||
@param This Pointer to local data for the interface.
|
||||
@param Width The width of the access. Enumerated in bytes.
|
||||
@@ -46,7 +46,7 @@ EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER The invalid access width.
|
||||
@retval EFI_NOT_YET_AVAILABLE If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -64,9 +64,9 @@ PeiDefaultPciCfg2Read (
|
||||
/**
|
||||
Write to a given location in the PCI configuration space.
|
||||
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
|
||||
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
|
||||
@param This Pointer to local data for the interface.
|
||||
@param Width The width of the access. Enumerated in bytes.
|
||||
@@ -90,13 +90,13 @@ PeiDefaultPciCfg2Write (
|
||||
)
|
||||
{
|
||||
return EFI_NOT_AVAILABLE_YET;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
This function performs a read-modify-write operation on the contents from a given
|
||||
location in the PCI configuration space.
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then
|
||||
return EFI_NOT_YET_AVAILABLE.
|
||||
|
||||
@param PeiServices An indirect pointer to the PEI Services Table
|
||||
published by the PEI Foundation.
|
||||
@@ -125,4 +125,4 @@ PeiDefaultPciCfg2Modify (
|
||||
)
|
||||
{
|
||||
return EFI_NOT_AVAILABLE_YET;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user