a template for further work

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2019-09-12 09:03:34 +03:00
parent ceb598f369
commit 7f84770e50
4 changed files with 28 additions and 1 deletions

View File

@ -24,7 +24,9 @@
SUPPORTED_ARCHITECTURES = X64|IA32
BUILD_TARGETS = RELEASE|DEBUG
SKUID_IDENTIFIER = DEFAULT
!ifndef SKIP_FLASH
FLASH_DEFINITION = Clover.fdf
!endif
!ifndef OPENSSL_VERSION
DEFINE OPENSSL_VERSION = 1.0.1e

View File

@ -271,6 +271,19 @@
<string>0x3E7</string>
<key>MLB</key>
<string>C02032109R5DC771H</string>
<key>Block</key>
<array>
<dict>
<key>Disabled</key>
<false/>
<key>Comment</key>
<string>Dell variables</string>
<key>UUID</key>
<string>FF2E9FC7-D16F-434A-A24E-C99519B7EB93</string>
<key>Name</key>
<string>*</string>
</dict>
</array>
</dict>
<key>CPU</key>
<dict>

View File

@ -43,7 +43,7 @@
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
[Components]
Clover/DumpUefiCalls/DumpUefiCalls.inf
Protocols/DumpUefiCalls/DumpUefiCalls.inf
[PcdsFixedAtBuild]

View File

@ -6179,6 +6179,18 @@ GetUserSettings(
if (Prop != NULL && AsciiStrLen (Prop->string) > 0) {
AsciiStrCpyS (gSettings.BooterCfgStr, 64, Prop->string);
}
Prop = GetProperty (DictPointer, "Block");
if (Prop != NULL) {
INTN i, Count = GetTagCount (Prop);
for (i = 0; i < Count; i++) {
EFI_STATUS Status = GetElement (Prop, i, &Dict);
if (!EFI_ERROR(Status)) {
Prop2 = GetProperty (Dict, "Comment");
}
}
}
}
if (gSettings.RtROM == NULL) {