• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2 **/
3 /**
4 
5 Copyright (c) 2012  - 2014, Intel Corporation. All rights reserved
6 
7   This program and the accompanying materials are licensed and made available under
8   the terms and conditions of the BSD License that accompanies this distribution.
9   The full text of the license may be found at
10   http://opensource.org/licenses/bsd-license.php.
11 
12   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 
15 
16 
17   @file
18   PchInfo.h
19 
20   @brief
21   This file defines the PCH Info Protocol.
22 
23 **/
24 #ifndef _PCH_INFO_H_
25 #define _PCH_INFO_H_
26 
27 
28 #define EFI_PCH_INFO_PROTOCOL_GUID \
29   { \
30     0xd31f0400, 0x7d16, 0x4316, 0xbf, 0x88, 0x60, 0x65, 0x88, 0x3b, 0x40, 0x2b \
31   }
32 extern EFI_GUID                       gEfiPchInfoProtocolGuid;
33 
34 ///
35 /// Forward reference for ANSI C compatibility
36 ///
37 typedef struct _EFI_PCH_INFO_PROTOCOL EFI_PCH_INFO_PROTOCOL;
38 
39 ///
40 /// Protocol revision number
41 /// Any backwards compatible changes to this protocol will result in an update in the revision number
42 /// Major changes will require publication of a new protocol
43 ///
44 /// Revision 1:  Original version
45 ///
46 #define PCH_INFO_PROTOCOL_REVISION_1  1
47 #define PCH_INFO_PROTOCOL_REVISION_2  2
48 
49 ///
50 /// RCVersion[7:0] is the release number.
51 /// For example:
52 /// VlvFramework 0.6.0-01 should be 00 06 00 01 (0x00060001)
53 /// VlvFramework 0.6.2    should be 00 06 02 00 (0x00060200)
54 ///
55 #define PCH_RC_VERSION                0x01000000
56 
57 ///
58 /// Protocol definition
59 ///
60 struct _EFI_PCH_INFO_PROTOCOL {
61   UINT8   Revision;
62   UINT8   BusNumber;
63   UINT32  RCVersion;
64 };
65 
66 #endif
67