]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h
retire AcpiTableStorage.h and implement the gEfiAcpiTableStorageGuid with a fixed...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Include / Ppi / EcpPciCfg.h
CommitLineData
cc5c33d7 1/** @file\r
766dca7f 2This PPI which is same with PciCfg PPI. But Modify API is removed.\r
cc5c33d7 3\r
4Copyright (c) 2008, Intel Corporation \r
5All rights reserved. This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php \r
9 \r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
13**/\r
14\r
15#ifndef _PEI_PCI_CFG_H_\r
16#define _PEI_PCI_CFG_H_\r
17\r
766dca7f 18#include <Ppi/PciCfg.h>\r
cc5c33d7 19\r
20#define ECP_PEI_PCI_CFG_PPI_GUID \\r
766dca7f 21 {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94}}\r
cc5c33d7 22\r
23typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI;\r
24\r
25\r
26typedef\r
27EFI_STATUS\r
28(EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) (\r
29 IN EFI_PEI_SERVICES **PeiServices,\r
766dca7f 30 IN EFI_PEI_PCI_CFG_PPI * This,\r
cc5c33d7 31 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,\r
32 IN UINT64 Address,\r
33 IN OUT VOID *Buffer\r
34 );\r
35\r
36struct _ECP_PEI_PCI_CFG_PPI {\r
37 ECP_PEI_PCI_CFG_PPI_IO Read;\r
38 ECP_PEI_PCI_CFG_PPI_IO Write;\r
39};\r
40\r
41extern EFI_GUID gEcpPeiPciCfgPpiGuid;\r
42\r
43#endif\r