]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/PciCfg2/PciCfg2.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / PciCfg2 / PciCfg2.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 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 PciCfg2.h\r
15\r
16Abstract:\r
17\r
18 PciCfg2 PPI as defined in PI1.0 specification\r
19\r
20 Used to access PCI configuration space in PEI\r
21\r
22--*/\r
23\r
24#ifndef _PEI_PCI_CFG2_H_\r
25#define _PEI_PCI_CFG2_H_\r
26#include "EfiPciCfg.h"\r
27\r
28#define EFI_PEI_PCI_CFG2_PPI_GUID \\r
29 { \\r
7ccf38a3 30 0x57a449a, 0x1fdc, 0x4c06, {0xbf, 0xc9, 0xf5, 0x3f, 0x6a, 0x99, 0xbb, 0x92} \\r
3eb9473e 31 }\r
32\r
33EFI_FORWARD_DECLARATION (EFI_PEI_PCI_CFG2_PPI);\r
34\r
35\r
36typedef\r
37EFI_STATUS\r
38(EFIAPI *EFI_PEI_PCI_CFG_PPI_IO) (\r
39 IN CONST EFI_PEI_SERVICES **PeiServices,\r
40 IN CONST EFI_PEI_PCI_CFG2_PPI *This,\r
41 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,\r
42 IN UINT64 Address,\r
43 IN OUT VOID *Buffer\r
44 );\r
45\r
46typedef\r
47EFI_STATUS\r
48(EFIAPI *EFI_PEI_PCI_CFG_PPI_RW) (\r
49 IN CONST EFI_PEI_SERVICES **PeiServices,\r
50 IN CONST EFI_PEI_PCI_CFG2_PPI *This,\r
51 IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,\r
52 IN UINT64 Address,\r
53 IN VOID *SetBits,\r
54 IN VOID *ClearBits\r
55 );\r
56\r
8cdb2112 57struct _EFI_PEI_PCI_CFG2_PPI {\r
3eb9473e 58 EFI_PEI_PCI_CFG_PPI_IO Read;\r
59 EFI_PEI_PCI_CFG_PPI_IO Write;\r
60 EFI_PEI_PCI_CFG_PPI_RW Modify;\r
61 UINT16 Segment;\r
8cdb2112 62};\r
3eb9473e 63\r
64extern EFI_GUID gPeiPciCfg2PpiGuid;\r
65\r
66#endif\r