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
41
/** @file
  Platform variable initialization PEIM.
 
  This PEIM determines whether to load variable defaults. Ordinarily, the
  decision is based on the boot mode, but an OEM hook is provided to override
  that. The appropriate HOBs and PCDs are created to signal DXE code to update
  the variable default values.
 
  @copyright
  Copyright 2012 - 2021 Intel Corporation. <BR>
 
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
 
#ifndef _PLATFORM_VARIABLE_INIT_PEI_H_
#define _PLATFORM_VARIABLE_INIT_PEI_H_
 
#include <PiPei.h>
 
#include <Library/MultiPlatSupportLib.h>
 
#include <Ppi/ReadOnlyVariable2.h>
#include <Ppi/FirmwareVolumeInfo.h>
#include <Ppi/CpuIo.h>
 
#include <Library/PcdLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/IoLib.h>
#include <Library/PlatformVariableHookLib.h>
#include <Library/PlatformSetupVariableSyncLib.h>
 
//
// We only have one ID for all the platforms.
//
#define BOARD_ID_DEFAULT  0
 
#endif  // #ifndef _PLATFORM_VARIABLE_INIT_PEI_H_