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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## @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
##
 
[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = PlatformVariableInitPei
  FILE_GUID                      = B88303F6-2E0E-41cc-8510-F5892BF1D9D9
  MODULE_TYPE                    = PEIM
  ENTRY_POINT                    = PlatformVariableInitPeiEntry
 
[Sources]
  PlatformVariableInitPei.c
 
[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  SecurityPkg/SecurityPkg.dec
  WhitleySiliconPkg/WhitleySiliconPkg.dec
  WhitleySiliconPkg/SiliconPkg.dec
  WhitleyOpenBoardPkg/PlatformPkg.dec
 
[LibraryClasses]
  PeiServicesLib
  PeimEntryPoint
  DebugLib
  HobLib
  IoLib
  PciLib
  PcdLib
  MultiPlatSupportLib
  PlatformVariableHookLib
  PlatformSetupVariableSyncLib
 
[Pcd]
  gPlatformTokenSpaceGuid.PcdSetupVariableGuid          ## CONSUMES
  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNvStoreDefaultId ## PRODUCES
 
[Guids]
  gPlatformVariableHobGuid                              ## PRODUCES           ## HOB
 
[Ppis]
  gPlatformVariableInitPpiGuid                          ## PRODUCES
  gEfiPeiReadOnlyVariable2PpiGuid                       ## SOMETIMES_CONSUMES ## NOTIFY
  gUpdateBootModePpiGuid                                ## CONSUMES
 
[Depex]
  TRUE