Re: [edk2] How to using PcdGetEx to change a PCD.

2017-12-29 Thread Gao, Liming
The message shows this PCD is configured as DynamicHii in DSC. For DynamicEx PCD, it should be defined in DEC [PcdsDynamicEx] section. It is set in DSC [PcdsDynamicExDefault] or [PcdsDynamicExHii] section. From: krishnaLee [mailto:sssky...@163.com] Sent: Thursday, December 28, 2017 5:42 PM To:

Re: [edk2] [PATCH v2 0/3] fix GCC optimizations and warnings for SetJump/LongJump

2017-12-29 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: M1cha [mailto:sigmaepsilo...@gmail.com] > Sent: Saturday, December 23, 2017 3:17 AM > To: edk2-devel@lists.01.org > Cc: Ard Biesheuvel ; Kinney, Michael D >

Re: [edk2] FW: [tianocore/edk2] BaseTools: Barf on unknown HOST_ARCH in C Makefile (#122)

2017-12-29 Thread Gao, Liming
I suggest GNUmakefile also adds this condition to report error message if HOST_ARCH is not set correctly. > -Original Message- > From: che...@gmail.com [mailto:che...@gmail.com] On Behalf Of Chema Gonzalez > Sent: Friday, December 29, 2017 6:19 AM > To: edk2-devel@lists.01.org > Cc: Gao,

Re: [edk2] [PATCH v2] BaseTools/PcdValueCommon: Fix build with XCODE5

2017-12-29 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Alex > James > Sent: Friday, December 29, 2017 11:00 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH v2] BaseTools/PcdValueCommon: Fix

Re: [edk2] [PATCH] MdeModulePkg VarCheckHii: Make sure the bin at required alignment

2017-12-29 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: Zeng, Star > Sent: Friday, December 29, 2017 6:14 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Wang, Jian J ; > Yao, Jiewen > Subject:

Re: [edk2] [PATCH] MdeModulePkg VarCheckPcd: Make sure the bin at required alignment

2017-12-29 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: Zeng, Star > Sent: Friday, December 29, 2017 6:19 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Wang, Jian J ; > Yao, Jiewen > Subject:

[edk2] [PATCH] MdeModulePkg VarCheckHii: Make sure the bin at required alignment

2017-12-29 Thread Star Zeng
According to UEFI/PI spec, the AllocateXXXPool() interfaces should return eight-byte aligned buffer that satisfies the required HEADER_ALIGNMENT which is 4. This patch adds ASSERT to make sure the bin at required alignment, that can help catch the issue earlier about incorrect aligned buffer

[edk2] [PATCH] MdeModulePkg VarCheckPcd: Make sure the bin at required alignment

2017-12-29 Thread Star Zeng
According to UEFI/PI spec, the AllocateXXXPool() interfaces should return eight-byte aligned buffer that satisfies the required HEADER_ALIGNMENT which is 4. This patch adds ASSERT to make sure the bin at required alignment, that can help catch the issue earlier about incorrect aligned buffer

[edk2] [PATCH] UefiCpuPkg/MpInitLib: fix wrong base address set as Stack Guard

2017-12-29 Thread Jian J Wang
The reason is that DXE part initialization will reuse the stack allocated at PEI phase, if MP was initialized before. Some code added to check this situation and use stack base address saved in HOB passed from PEI. Cc: Jiewen Yao Cc: Eric Dong Cc: