1 /*++ 2 3 Copyright (c) 2008, Intel Corporation. All rights reserved.<BR> 4 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 Module Name: 13 14 PciCfg.h 15 16 Abstract: 17 18 This PPI which is same with PciCfg PPI. But Modify API is removed. 19 20 --*/ 21 22 #ifndef _ECP_PEI_PCI_CFG_H_ 23 #define _ECP_PEI_PCI_CFG_H_ 24 #include EFI_PPI_DEFINITION (PciCfg) 25 26 #define ECP_PEI_PCI_CFG_PPI_GUID \ 27 {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }} 28 29 EFI_FORWARD_DECLARATION (ECP_PEI_PCI_CFG_PPI); 30 31 32 typedef 33 EFI_STATUS 34 (EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) ( 35 IN EFI_PEI_SERVICES **PeiServices, 36 IN ECP_PEI_PCI_CFG_PPI *This, 37 IN PEI_PCI_CFG_PPI_WIDTH Width, 38 IN UINT64 Address, 39 IN OUT VOID *Buffer 40 ); 41 42 struct _ECP_PEI_PCI_CFG_PPI { 43 ECP_PEI_PCI_CFG_PPI_IO Read; 44 ECP_PEI_PCI_CFG_PPI_IO Write; 45 }; 46 47 extern EFI_GUID gEcpPeiPciCfgPpiGuid; 48 49 #endif 50 51