]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/PciCfg/PciCfg.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / PciCfg / PciCfg.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2004 - 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 PciCfg.h\r
15\r
16Abstract:\r
17\r
18 PciCfg PPI as defined in PEI CIS specification\r
19\r
20 Used to access PCI configuration space in PEI\r
21\r
22--*/\r
23\r
24#ifndef _PEI_PCI_CFG_H_\r
25#define _PEI_PCI_CFG_H_\r
26#include "EfiPciCfg.h"\r
27\r
28#define PEI_PCI_CFG_PPI_GUID \\r
29 { \\r
7ccf38a3 30 0xe1f2eba0, 0xf7b9, 0x4a26, {0x86, 0x20, 0x13, 0x12, 0x21, 0x64, 0x2a, 0x90} \\r
3eb9473e 31 }\r
32\r
33EFI_FORWARD_DECLARATION (PEI_PCI_CFG_PPI);\r
34\r
35\r
36typedef\r
37EFI_STATUS\r
38(EFIAPI *PEI_PCI_CFG_PPI_IO) (\r
39 IN EFI_PEI_SERVICES **PeiServices,\r
40 IN PEI_PCI_CFG_PPI * This,\r
41 IN 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 *PEI_PCI_CFG_PPI_RW) (\r
49 IN EFI_PEI_SERVICES **PeiServices,\r
50 IN PEI_PCI_CFG_PPI * This,\r
51 IN PEI_PCI_CFG_PPI_WIDTH Width,\r
52 IN UINT64 Address,\r
53 IN UINTN SetBits,\r
54 IN UINTN ClearBits\r
55 );\r
56\r
8cdb2112 57struct _PEI_PCI_CFG_PPI {\r
3eb9473e 58 PEI_PCI_CFG_PPI_IO Read;\r
59 PEI_PCI_CFG_PPI_IO Write;\r
60 PEI_PCI_CFG_PPI_RW Modify;\r
8cdb2112 61};\r
3eb9473e 62\r
63extern EFI_GUID gPeiPciCfgPpiInServiceTableGuid;\r
64\r
65#endif\r