MdeModulePkg BdsDxe: Correct VariableLockProtocol usage to match code logic
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BdsDxe.inf
CommitLineData
f4cd24da
RN
1## @file\r
2# BdsDxe module is core driver for BDS phase.\r
3#\r
4# When DxeCore dispatching all DXE driver, this module will produce architecture protocol \r
5# gEfiBdsArchProtocolGuid. After DxeCore finish dispatching, DxeCore will invoke Entry\r
6# interface of protocol gEfiBdsArchProtocolGuid, then BDS phase is entered.\r
7# \r
9f0d7651 8# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r
f4cd24da
RN
9# This program and the accompanying materials\r
10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13#\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17##\r
18\r
19[Defines]\r
20 INF_VERSION = 0x00010005\r
21 BASE_NAME = BdsDxe\r
99294cbb 22 MODULE_UNI_FILE = BdsDxe.uni\r
f4cd24da
RN
23 FILE_GUID = 6D33944A-EC75-4855-A54D-809C75241F6C\r
24 MODULE_TYPE = DXE_DRIVER\r
25 VERSION_STRING = 1.0 \r
26 ENTRY_POINT = BdsInitialize\r
27\r
28#\r
29# The following information is for reference only and not required by the build tools.\r
30#\r
31# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
32#\r
33\r
34[Sources]\r
35 Language.h\r
36 Bds.h\r
37 HwErrRecSupport.c\r
38 HwErrRecSupport.h\r
39 Language.c\r
40 BdsEntry.c\r
41\r
42\r
43[Packages]\r
44 MdePkg/MdePkg.dec\r
45 MdeModulePkg/MdeModulePkg.dec\r
46\r
47[LibraryClasses]\r
48 DevicePathLib\r
49 BaseLib\r
50 MemoryAllocationLib\r
51 UefiDriverEntryPoint\r
52 UefiBootServicesTableLib\r
53 UefiRuntimeServicesTableLib\r
54 ReportStatusCodeLib\r
55 UefiLib\r
56 BaseMemoryLib\r
57 DebugLib\r
58 UefiBootManagerLib\r
59 PlatformBootManagerLib\r
60 PcdLib\r
dc477dd2 61 PrintLib\r
f4cd24da
RN
62\r
63[Guids]\r
64 gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootNext" (The number of next boot option)\r
65 ## SOMETIMES_PRODUCES ## Variable:L"Boot####" (Boot option variable)\r
66 ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang" (Platform supported languange in Rfc4646 format)\r
67 ## SOMETIMES_PRODUCES ## Variable:L"Lang" (Platform supported languange in Iso639 format)\r
68 ## SOMETIMES_PRODUCES ## Variable:L"Key####" (Hotkey option variable)\r
69 ## PRODUCES ## Variable:L"HwErrRecSupport" (The level of platform supported hardware Error Record Persistence)\r
70 ## SOMETIMES_PRODUCES ## Variable:L"BootOptionSupport" (The feature supported in boot option menu, value could be: EFI_BOOT_OPTION_SUPPORT_KEY, EFI_BOOT_OPTION_SUPPORT_APP\r
71 ## SOMETIMES_PRODUCES (not PcdUefiVariableDefaultLangDeprecate) ## Variable:L"LangCodes" (Value of PcdUefiVariableDefaultLangCodes)\r
72 ## PRODUCES ## Variable:L"PlatformLangCodes" (Value of PcdUefiVariableDefaultPlatformLangCodes)\r
73 ## PRODUCES ## Variable:L"Timeout" (The time out value in second of showing progress bar)\r
74 ## SOMETIMES_PRODUCES ## Variable:L"BootOrder" (The boot option array)\r
75 ## SOMETIMES_PRODUCES ## Variable:L"DriverOrder" (The driver order list)\r
76 ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)\r
77 ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)\r
78 ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)\r
79 gConnectConInEventGuid ## SOMETIMES_CONSUMES ## Event\r
80 gEdkiiStatusCodeDataTypeVariableGuid ## SOMETIMES_CONSUMES ## GUID\r
048bcba1 81 gEfiEventReadyToBootGuid ## CONSUMES ## Event\r
f4cd24da
RN
82\r
83[Protocols]\r
84 gEfiBdsArchProtocolGuid ## PRODUCES\r
85 gEfiSimpleTextInputExProtocolGuid ## CONSUMES\r
363c3fe2 86 gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES\r
048bcba1 87 gEfiDeferredImageLoadProtocolGuid ## CONSUMES\r
f4cd24da
RN
88\r
89[FeaturePcd]\r
90 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES\r
91\r
92[Pcd]\r
93 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangCodes ## CONSUMES\r
94 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLang ## SOMETIMES_CONSUMES\r
95 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLangCodes ## CONSUMES\r
96 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang ## CONSUMES\r
97 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel ## CONSUMES\r
98 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut ## CONSUMES\r
99 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor ## CONSUMES\r
100 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision ## CONSUMES\r
101 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand ## CONSUMES\r
102 gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable ## SOMETIMES_CONSUMES\r
103\r
104[Depex]\r
105 TRUE\r
99294cbb
RN
106\r
107[UserExtensions.TianoCore."ExtraFiles"]\r
108 BdsDxeExtra.uni\r