Tags: dustyhair/edk2
Tags
BaseTools: Fixed regression issue for building !x86 builds BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2134 This patch is to fix a build tool regression issue which was introduced by commit e8449e1. In commit e8449e1, build tool check the pcd before filter out the irrelevant library instance. The logic of evaluating the priority of the library class resolutions was not changed. Cc: Liming Gao <[email protected]> Signed-off-by: Bob Feng <[email protected]> Tested-by: Michael D Kinney <[email protected]> Acked-by: Michael D Kinney <[email protected]> Reviewed-by: Liming Gao <[email protected]> Acked-by: Leif Lindholm <[email protected]> Tested-by: Leif Lindholm <[email protected]>
CryptoPkg/OpensslLib: fix build break caused by missing library CryptoPkg\Library\Include\CrtLibSupport.h maps strxxxx interfaces to edk2 PrintLib interfaces but related module inf file don't claim the use of it. This will cause unresolved symbol issue with VS2017 build which has enabled strict symbol check. This patch resolves the problem by adding PrintLib to inf files. Cc: Liming Gao <[email protected]> Cc: Dandan Bi <[email protected]> Signed-off-by: Jian J Wang <[email protected]> Reviewed-by: Liming Gao <[email protected]>
UefiCpuPkg/CommonFeature: Always set FEATURE_CONTROL.Lock REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1305 The patch reverts commit 1ed6498 * UefiCpuPkg/CommonFeature: Skip locking when the feature is disabled FEATURE_CONTROL.Lock bit is controlled by feature CPU_FEATURE_LOCK_FEATURE_CONTROL_REGISTER. The commit 1ed649 fixes a bug that when the feature is disabled, the Lock bit is cleared. But it's a security hole if the bit is cleared when booting OS. We can argue that platform needs to make sure the value of PcdCpuFeaturesUserConfiguration should be set properly to make sure feature CPU_FEATURE_LOCK_FEATURE_CONTROL_REGISTER is enabled. But it's better to guarantee this in the generic core code. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <[email protected]> Reviewed-by: Eric Dong <[email protected]> Acked-by: Laszlo Ersek <[email protected]> Cc: Andrew Fish <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Michael D Kinney <[email protected]>
MdePkg Cper.h: Add generic error macros for ARM platform Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <[email protected]>