From ac0f89ba97e5ae1efffc10def6e6dc5da4a2c397 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Mon, 22 Jun 2009 06:02:05 +0000 Subject: [PATCH] Correct the code format. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8621 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Compatibility/Include/Ppi/EcpPciCfg.h | 32 ++++++------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h b/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h index 662319d0d8..51605cfe31 100644 --- a/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h +++ b/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h @@ -1,7 +1,7 @@ /** @file This PPI is the same as the PPI in the framework PciCfg, with one exception: this PPI does not include a modify API, while the PPI in the framework PciCfg does. -Copyright (c) 2008, Intel Corporation +Copyright (c) 2008 - 2009, Intel Corporation All rights reserved. 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 @@ -27,17 +27,15 @@ typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI; Writes to or reads from a given location in the PCI configuration space. - @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. - See EFI_PEI_PCI_CFG_PPI_WIDTH in MDEPkg. - @param Address The physical address of the access. The format of - the address is described by EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS. - @param Buffer A pointer to the buffer of data. - @retval EFI_SUCCESS The function completed successfully. - @retval EFI_DEVICE_ERROR There was a problem with the transaction. - @retval EFI_DEVICE_NOT_READY The device is not capable of supporting the operation at this - time. + @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. + @param Address The physical address of the access. The format of + the address is described by EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS. + @param Buffer A pointer to the buffer of data. + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_DEVICE_ERROR There was a problem with the transaction. + @retval EFI_DEVICE_NOT_READY The device is not capable of supporting the operation at this time. **/ typedef EFI_STATUS @@ -49,16 +47,6 @@ EFI_STATUS IN OUT VOID *Buffer ); -/** - The ECP_PEI_PCI_CFG_PPI interfaces are used to abstract accesses to PCI - controllers behind a PCI root bridge controller. - @param Read - PCI read services. See the Read() function description. - @param Write - PCI write services. See the Write() function description. - -**/ - struct _ECP_PEI_PCI_CFG_PPI { ECP_PEI_PCI_CFG_PPI_IO Read; ECP_PEI_PCI_CFG_PPI_IO Write; -- 2.39.2