summaryrefslogtreecommitdiff
path: root/Include/PPI/PciCfg.h
blob: 088d3fd8f0da0cdfac43be026be097a7face08b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2011, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093        **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************

//**********************************************************************
// $Header: /Alaska/BIN/Core/Include/PPI/PciCfg.h 7     6/16/11 3:18p Felixp $
//
// $Revision: 7 $
//
// $Date: 6/16/11 3:18p $
//*****************************************************************************
// Revision	History
// ----------------
// $Log: /Alaska/BIN/Core/Include/PPI/PciCfg.h $
// 
// 7     6/16/11 3:18p Felixp
// Surround backward compatibility definitions with #if
// BACKWARD_COMPATIBLE_MODE
// 
// 6     5/27/11 5:52p Felixp
// Headers are updated to improve separation of the Framework and PI
// interfaces.
// The definitions that will be removed in the future versions are marked
// with the comments.
// 
// 5     2/05/11 2:09p Artems
// Added PI 1.0 compatibility definitions
// 
// 4     3/13/06 1:16a Felixp
// 
// 3     6/06/05 1:24p Felixp
// 
// 2     6/03/05 3:44p Felixp
// Updated to support changes introduced in PEI CIS 0.91
// 
// 1     1/28/05 12:44p Felixp
// 
// 1     12/23/04 9:41a Felixp
// 
// 5     12/18/03 3:08p Robert
//
// 4		 12/18/03	2:46p	Robert
//
// 3		 12/16/03	4:03p	Robert
//
// 2		 12/15/03	4:21p	Robert
//
// 1		 12/11/03	5:36p	Robert
// Initial Check in	of the PCI Cfg PPI
//
//*****************************************************************************
//<AMI_FHDR_START>
//
// Name:	PciCfg.h
//
// Description:	This file	is an	include	file used	to define	the	PPI	for	the
//		PCI	CFG	PPI.	For	questions	about	the	specification	refer	to the PEI CIS
//
//<AMI_FHDR_END>
//*****************************************************************************
#ifndef	_PCI_CFG_PPI_H_
#define	_PCI_CFG_PPI_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <PEI.h>

#if BACKWARD_COMPATIBLE_MODE
#include <Ppi/PciCfg2.h>
#if PI_SPECIFICATION_VERSION >= 0x00010000
//Compatibility definition
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID EFI_PEI_PCI_CFG2_PPI_GUID
#endif
#endif

//Remove the #ifndef-clause when backward compatibility definitions above are removed.
#ifndef EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID \
	{ 0xe1f2eba0, 0xf7b9, 0x4a26, 0x86, 0x20, 0x13, 0x12, 0x21, 0x64, 0x2a, 0x90 }
#endif

GUID_VARIABLE_DECLARATION(gPeiPciCfgPpiInServiceTableGuid,EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID);

/******	DO NOT WRITE BELOW THIS	LINE *******/
#ifdef __cplusplus
}
#endif
#endif
//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2011, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093        **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************