hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
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
/** @file
  This file defines the PCH Info Protocol.
 
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
 
**/
#ifndef _PCH_INFO_H_
#define _PCH_INFO_H_
 
//
// Extern the GUID for protocol users.
//
extern EFI_GUID                       gPchInfoProtocolGuid;
 
//
// Forward reference for ANSI C compatibility
//
typedef struct _PCH_INFO_PROTOCOL PCH_INFO_PROTOCOL;
 
/**
  Protocol revision number
  Any backwards compatible changes to this protocol will result in an update in the revision number
  Major changes will require publication of a new protocol
 
  Revision 1:  Original version
  Revision 2:  Add PcieControllerCfg6 for KBL PCH-H
**/
#define PCH_INFO_PROTOCOL_REVISION    2
 
/**
 This protocol is used to provide the information of PCH controller.
**/
struct _PCH_INFO_PROTOCOL {
  /**
    This member specifies the revision of the PCH Info protocol. This field is used
    to indicate backwards compatible changes to the protocol. Platform code that
    consumes this protocol must read the correct revision value to correctly interpret
    the content of the protocol fields.
  **/
  UINT8        Revision;
 
  UINT8        PcieControllerCfg1;
  UINT8        PcieControllerCfg2;
  UINT8        PcieControllerCfg3;
  UINT8        PcieControllerCfg4;
  UINT8        PcieControllerCfg5;
  UINT8        PcieControllerCfg6;
};
 
#endif