Fix a bug and update comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5262 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-05-21 07:25:07 +00:00
parent 0004d1401e
commit 766dca7fa0

View File

@ -1,4 +1,5 @@
/** @file /** @file
This PPI which is same with PciCfg PPI. But Modify API is removed.
Copyright (c) 2008, Intel Corporation Copyright (c) 2008, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
@ -14,12 +15,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _PEI_PCI_CFG_H_ #ifndef _PEI_PCI_CFG_H_
#define _PEI_PCI_CFG_H_ #define _PEI_PCI_CFG_H_
#include <Ppi/PciCfg.h>
#include <Ppi/PciCfg2.h> #include <Ppi/PciCfg2.h>
#define ECP_PEI_PCI_CFG_PPI_GUID \ #define ECP_PEI_PCI_CFG_PPI_GUID \
{ \ {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94}}
{0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }} \
}
typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI; typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI;
@ -28,7 +28,7 @@ typedef
EFI_STATUS EFI_STATUS
(EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) ( (EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) (
IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_SERVICES **PeiServices,
IN ECP_PEI_PCI_CFG_PPI * This, IN EFI_PEI_PCI_CFG_PPI * This,
IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
IN UINT64 Address, IN UINT64 Address,
IN OUT VOID *Buffer IN OUT VOID *Buffer