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