hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
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
/** @file
  Interface definition details between Pch and platform drivers during DXE phase.
 
  Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _PCH_POLICY_H_
#define _PCH_POLICY_H_
 
#include <ConfigBlock.h>
#include <Library/ConfigBlockLib.h>
#include "../IncludePrivate/PchConfigHob.h"    // To Be corrected
#include <Library/HobLib.h>
 
extern EFI_GUID gPchPolicyProtocolGuid;
 
#define PCH_POLICY_PROTOCOL_REVISION  1
 
 
/**
  PCH DXE Policy
 
  The PCH_POLICY_PROTOCOL producer drvier is recommended to
  set all the PCH_POLICY_PROTOCOL size buffer zero before init any member parameter,
  this clear step can make sure no random value for those unknown new version parameters.
 
  Make sure to update the Revision if any change to the protocol, including the existing
  internal structure definations.\n
  Note: Here revision will be bumped up when adding/removing any config block under this structure.\n
  <b>Revision 1</b>:
  - Initial version.
**/
typedef struct {
  CONFIG_BLOCK_TABLE_HEADER      TableHeader;
/*
  Individual Config Block Structures are added here in memory as part of AddConfigBlock()
*/
} PCH_POLICY_PROTOCOL;
 
#endif