[edk2] [PATCH v2 2/3] BaseTools/tools_def CLANG38: add -Wno-unused-const-variable

2017-12-07 Thread Ard Biesheuvel
Commit 8b6366f87584 ("BaseTools/GCC: set -Wno-unused-const-variable on RELEASE builds") suppresses warnings about unused constant variables in RELEASE builds when building with GCC, given that they break the build under our warnings-as-errors policy. Do the same for CLANG38. Ref:

[edk2] [PATCH v2 3/3] BaseTool/tools_def GCC5: enable optimization for ARM/AARCH64 DEBUG builds

2017-12-07 Thread Ard Biesheuvel
Enable optimization for DEBUG builds, to make it more usable in terms of performance, and to give more coverage to the LTO builds. Also, some diagnostics are only enabled when optimization is enabled. NOOPT builds can now also be created, which will retain the behavior DEBUG builds had previously.

[edk2] [PATCH v2 0/3] BaseTools/tools_def: GCC5/CLANG38 toolchain updates

2017-12-07 Thread Ard Biesheuvel
Some toolchain updates for CLANG38 and GCC5: - introduce CLANG38+LTO for ARM and AARCH64 - disable a warning on CLANG38 - enable optimization for GCC5 DEBUG builds Ard Biesheuvel (3): BaseTools/tools_def: add CLANG38 LTO versions for AARCH64 and ARM BaseTools/tools_def CLANG38: add

Re: [edk2] [Patch] SourceLevelDebugPkg/SecPeiDebugAgentLib: Fix duplicate symbol

2017-12-07 Thread Ard Biesheuvel
On 7 December 2017 at 07:48, Liming Gao wrote: > From: Michael Kinney > > https://bugzilla.tianocore.org/show_bug.cgi?id=573 > https://bugzilla.tianocore.org/show_bug.cgi?id=796 > > The same issue is reported again by GCC. Resend this patch

[edk2] [RFC] MdePkg/Spi : Modify SPI Protocol strctures to make it more generic

2017-12-07 Thread Pankaj Bansal
Issue_1: Currenty SPI IO and SPI HC protocol strcture is not equipped to handle all type of SPI commands e.g. QuadIo Read Command (0xEBh) in spansion flash S25FS512S will not work. Cause: Currenty SPI protocol describes a SPI transaction as combination of data and address and command, which would

Re: [edk2] [PATCH v4 00/11] Implement stack guard feature

2017-12-07 Thread Wang, Jian J
I missed that part. I'll add it. Thanks. Regards, Jian > -Original Message- > From: Yao, Jiewen > Sent: Thursday, December 07, 2017 4:17 PM > To: Wang, Jian J ; edk2-devel@lists.01.org > Subject: RE: [edk2] [PATCH v4 00/11] Implement stack guard feature > >

Re: [edk2] [Patch] SourceLevelDebugPkg/SecPeiDebugAgentLib: Fix duplicate symbol

2017-12-07 Thread Wu, Hao A
Reviewed-by: Hao Wu Best Regards, Hao Wu > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Liming Gao > Sent: Thursday, December 07, 2017 3:48 PM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D; Wu, Hao A; Laszlo

Re: [edk2] MdeModulePkg/UefiPxeBcDxe: Question about IcmpErrorListenHandler in PxeBcImpl.c

2017-12-07 Thread Heyi Guo
Hi Jiaxin, Thanks for your reply. You say "IcmpErrorRcvToken is only used to get ICMP error from IP layer", does that mean only ICMP error packets will go to IcmpErrorListenHandler? If it is the case, how do we make it? I can only find a simple Ip4->Receive is called to receive IP4

Re: [edk2] [Patch] SignedCapsulePkg: Update EdkiiSystemCapsuleLib to check PCD value

2017-12-07 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Gao, Liming > Sent: Tuesday, November 28, 2017 11:27 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [Patch] SignedCapsulePkg: Update EdkiiSystemCapsuleLib to check PCD > value > > If PCD

Re: [edk2] [PATCH 0/2] Follow PI spec to update EFI_MM_COMMUNICATE

2017-12-07 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Zeng, Star > Sent: Wednesday, December 6, 2017 5:18 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Yao, Jiewen ; Gao, > Liming ; Kinney, Michael D >

Re: [edk2] [PATCH v2 1/3] IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access

2017-12-07 Thread Wang, Jian J
Thanks for the comment. The {} will be added. Sincerely, Jian > -Original Message- > From: Ni, Ruiyu > Sent: Thursday, December 07, 2017 3:00 PM > To: Wang, Jian J ; edk2-devel@lists.01.org > Cc: Gao, Liming ; Kinney, Michael D >

<    1   2