]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/PlatformPei/PlatformPei.inf
OVMF: Add support for more persistent NV variables which can survive a system reboot.
[mirror_edk2.git] / OvmfPkg / PlatformPei / PlatformPei.inf
1 #/** @file
2 # Platform PEI driver
3 #
4 # This module provides platform specific function to detect boot mode.
5 # Copyright (c) 2006 - 2009, Intel Corporation
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #**/
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = PlatformPei
20 FILE_GUID = 222c386d-5abc-4fb4-b124-fbb82488acf4
21 MODULE_TYPE = PEIM
22 VERSION_STRING = 1.0
23 EDK_RELEASE_VERSION = 0x00020000
24 EFI_SPECIFICATION_VERSION = 0x00020000
25
26 ENTRY_POINT = InitializePlatform
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
32 #
33
34 [Sources.common]
35 Cmos.c
36 Fv.c
37 MemDetect.c
38 Platform.c
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43 OvmfPkg/OvmfPkg.dec
44
45 [Guids]
46 gEfiMemoryTypeInformationGuid
47
48 [LibraryClasses]
49 DebugLib
50 HobLib
51 IoLib
52 PeiResourcePublicationLib
53 PeiServicesTablePointerLib
54 PeimEntryPoint
55
56 [FixedPcd.common]
57 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoveryBase
58 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoverySize
59 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase
60 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
61 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
64
65 [Pcd.common]
66 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
67
68 [Depex]
69 TRUE
70