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