1 /** @file
2 This file defines the QNC Info Protocol.
3 
4 Copyright (c) 2013-2015 Intel Corporation.
5 
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution.  The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 
15 **/
16 #ifndef _PCH_INFO_H_
17 #define _PCH_INFO_H_
18 
19 //
20 // Extern the GUID for protocol users.
21 //
22 extern EFI_GUID                       gEfiQncInfoProtocolGuid;
23 
24 //
25 // Forward reference for ANSI C compatibility
26 //
27 typedef struct _EFI_QNC_INFO_PROTOCOL EFI_QNC_INFO_PROTOCOL;
28 
29 //
30 // Protocol revision number
31 // Any backwards compatible changes to this protocol will result in an update in the revision number
32 // Major changes will require publication of a new protocol
33 //
34 // Revision 1:  Original version
35 // Revision 2:   Add RCVersion item to EFI_QNC_INFO_PROTOCOL
36 //
37 #define QNC_INFO_PROTOCOL_REVISION_1  1
38 #define QNC_INFO_PROTOCOL_REVISION_2  2
39 
40 //
41 // RCVersion[7:0] is the release number.
42 //
43 #define QNC_RC_VERSION                0x01020000
44 
45 //
46 // Protocol definition
47 //
48 struct _EFI_QNC_INFO_PROTOCOL {
49   UINT8   Revision;
50   UINT8   BusNumber;
51   UINT32  RCVersion;
52 };
53 
54 #endif
55