Re: [PATCH v5 08/14] UefiPayloadPkg: Add VariablePolicy engine to UefiPayloadPkg platform


Ma, Maurice <maurice.ma@...>
 

Reviewed-by: Maurice Ma <maurice.ma@...>

-----Original Message-----
From: Bret Barkelew <bret@...>
Sent: Tuesday, June 2, 2020 23:58
To: devel@edk2.groups.io
Cc: Ma, Maurice <maurice.ma@...>; Dong, Guo <guo.dong@...>;
You, Benjamin <benjamin.you@...>
Subject: [PATCH v5 08/14] UefiPayloadPkg: Add VariablePolicy engine to
UefiPayloadPkg platform

https://bugzilla.tianocore.org/show_bug.cgi?id=2522

Cc: Maurice Ma <maurice.ma@...>
Cc: Guo Dong <guo.dong@...>
Cc: Benjamin You <benjamin.you@...>
Cc: Bret Barkelew <brbarkel@...>
Signed-off-by: Bret Barkelew <brbarkel@...>
---
UefiPayloadPkg/UefiPayloadPkgIa32.dsc | 4 ++++
UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc
b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc
index d52945442e0e..d6b6e16f21b0 100644
--- a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc
+++ b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc
@@ -4,6 +4,7 @@
# Provides drivers and definitions to create uefi payload for bootloaders.

#

# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>

+# Copyright (c) Microsoft Corporation.

# SPDX-License-Identifier: BSD-2-Clause-Patent

#

##

@@ -204,6 +205,8 @@ [LibraryClasses]

AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib
Null.inf


TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/Tpm
MeasurementLibNull.inf

VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf

+
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.i
nf

+
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Vari
ablePolicyHelperLib.inf



[LibraryClasses.IA32.SEC]

DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf

@@ -251,6 +254,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER]
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf


MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemory
AllocationLib.inf


ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib
/RuntimeDxeReportStatusCodeLib.inf

+
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibR
untimeDxe.inf




[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATI
ON]

PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf

diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc
b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc
index 0736cd995476..d93949fcea33 100644
--- a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc
+++ b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc
@@ -4,6 +4,7 @@
# Provides drivers and definitions to create uefi payload for bootloaders.

#

# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>

+# Copyright (c) Microsoft Corporation.

# SPDX-License-Identifier: BSD-2-Clause-Patent

#

##

@@ -205,6 +206,8 @@ [LibraryClasses]

AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib
Null.inf


TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/Tpm
MeasurementLibNull.inf

VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf

+
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.i
nf

+
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Vari
ablePolicyHelperLib.inf



[LibraryClasses.IA32.SEC]

DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf

@@ -252,6 +255,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER]
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf


MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemory
AllocationLib.inf


ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib
/RuntimeDxeReportStatusCodeLib.inf

+
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibR
untimeDxe.inf




[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATI
ON]

PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf

--
2.26.2.windows.1.8.g01c50adf56.20200515075929

Join {devel@edk2.groups.io to automatically receive all group messages.