]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h
1) Make Compatibility/Include the public include directory.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Include / Ppi / EcpPciCfg.h
1 /** @file
2
3 Copyright (c) 2008, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 **/
13
14 #ifndef _PEI_PCI_CFG_H_
15 #define _PEI_PCI_CFG_H_
16
17 #include <Ppi/PciCfg2.h>
18
19 #define ECP_PEI_PCI_CFG_PPI_GUID \
20 { \
21 {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }} \
22 }
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 ECP_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