mirror of https://github.com/acidanthera/audk.git
Nt32Pkg: Enable HTTPS boot feature for Nt32 platform
v2: * Rename flag: HTTPS_BOOT_ENABLE -> TLS_ENABLE This path is used to enable HTTPS boot feature for Nt32 platform. Cc: Long Qin <qin.long@intel.com> Cc: Ni Ruiyu <ruiyu.ni@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Zhang Lubo <lubo.zhang@intel.com> Cc: Thomas Palmer <thomas.palmer@hpe.com> Cc: Yao Jiewen <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Qin Long <qin.long@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
f75697b223
commit
c9b78304b8
|
@ -45,6 +45,13 @@
|
||||||
# -D FLAG=VALUE
|
# -D FLAG=VALUE
|
||||||
#
|
#
|
||||||
DEFINE SECURE_BOOT_ENABLE = FALSE
|
DEFINE SECURE_BOOT_ENABLE = FALSE
|
||||||
|
|
||||||
|
#
|
||||||
|
# This flag is to enable or disable TLS feature.
|
||||||
|
# These can be changed on the command line.
|
||||||
|
# -D FLAG=VALUE
|
||||||
|
#
|
||||||
|
DEFINE TLS_ENABLE = TRUE
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
@ -191,6 +198,7 @@
|
||||||
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
||||||
WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
|
WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
|
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.DXE_CORE]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||||
|
@ -234,7 +242,7 @@
|
||||||
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
||||||
!if $(SECURE_BOOT_ENABLE) == TRUE
|
!if $(SECURE_BOOT_ENABLE) == TRUE || $(TLS_ENABLE) == TRUE
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
@ -439,6 +447,11 @@
|
||||||
NetworkPkg/DnsDxe/DnsDxe.inf
|
NetworkPkg/DnsDxe/DnsDxe.inf
|
||||||
NetworkPkg/HttpDxe/HttpDxe.inf
|
NetworkPkg/HttpDxe/HttpDxe.inf
|
||||||
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
|
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
|
||||||
|
|
||||||
|
!if $(TLS_ENABLE) == TRUE
|
||||||
|
NetworkPkg/TlsDxe/TlsDxe.inf
|
||||||
|
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
|
||||||
|
!endif
|
||||||
|
|
||||||
MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
|
MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
|
||||||
MdeModulePkg/Application/UiApp/UiApp.inf{
|
MdeModulePkg/Application/UiApp/UiApp.inf{
|
||||||
|
|
|
@ -262,6 +262,10 @@ INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
|
||||||
INF NetworkPkg/DnsDxe/DnsDxe.inf
|
INF NetworkPkg/DnsDxe/DnsDxe.inf
|
||||||
INF NetworkPkg/HttpDxe/HttpDxe.inf
|
INF NetworkPkg/HttpDxe/HttpDxe.inf
|
||||||
INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
|
INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
|
||||||
|
!if $(TLS_ENABLE) == TRUE
|
||||||
|
INF NetworkPkg/TlsDxe/TlsDxe.inf
|
||||||
|
INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
|
||||||
|
!endif
|
||||||
INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
|
INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue