]>
Commit | Line | Data |
---|---|---|
1e55f6a4 | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
1e55f6a4 | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | PciCfg.h\r | |
15 | \r | |
16 | Abstract:\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 | |
29 | EFI_FORWARD_DECLARATION (ECP_PEI_PCI_CFG_PPI);\r | |
30 | \r | |
31 | \r | |
32 | typedef\r | |
33 | EFI_STATUS\r | |
34 | (EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) (\r | |
35 | IN EFI_PEI_SERVICES **PeiServices,\r | |
a8d048d5 | 36 | IN ECP_PEI_PCI_CFG_PPI *This,\r |
1e55f6a4 | 37 | IN PEI_PCI_CFG_PPI_WIDTH Width,\r |
38 | IN UINT64 Address,\r | |
39 | IN OUT VOID *Buffer\r | |
40 | );\r | |
41 | \r | |
42 | struct _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 | |
47 | extern EFI_GUID gEcpPeiPciCfgPpiGuid;\r | |
48 | \r | |
49 | #endif\r | |
50 | \r |