The patch series will add two APIs in BaseMemoryLib:
1. IsZeroBuffer()
The API is used to check if the contents of a buffer are all zeros.
2. IsZeroGuid()
The API is used to check if the given GUID is a zero GUID.
In order to resolve build issues in SecurityPkg, the series will also
remove the
Cc: Michael D Kinney
Cc: Liming Gao
Cc: Jiewen Yao
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu
---
MdePkg/Include/Library/BaseMemoryLib.h | 23
This commit removes the internal implementation of the function
IsZeroBuffer(). Instead, it will use the one from BaseMemoryLib.
Cc: Jiewen Yao
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu
Cc: Michael D Kinney
Cc: Liming Gao
Cc: Jiewen Yao
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu
---
MdePkg/Include/Library/BaseMemoryLib.h | 20
Ard,
Pls go ahead to add R_X86_64_PLT32 firstly. Below is my original path. And for
the GOTPCREL type ones, I could finish enhance them after I back from vacation
next week. Thanks.
https://github.com/shijunjing/edk2/commit/dd8b1c4625cbffc7e149571266e0ae0581bd207d
Steven Shi
The built-in Linux Loader is obsolete and not included in most builds.
The patch sets the PcdBdsLinuxSupport default value to FALSE and prevents
ArmBds from looking for built-in Linux Loader by default and ASSERTing
when it cannot be found. Platforms which still using built-in loader have
to set
On 08/03/2016 01:47 PM, Ard Biesheuvel wrote:
>
>> On 3 aug. 2016, at 22:13, Jordan Justen wrote:
>>
>> Where does this patch stand? I think Ard was asking for it to be
>> split, but also wondering if it was really required...
>>
>> Some devs are still reporting
> On 3 aug. 2016, at 22:53, Jordan Justen wrote:
>
>> On 2016-08-03 13:47:09, Ard Biesheuvel wrote:
>>
>>> On 3 aug. 2016, at 22:13, Jordan Justen wrote:
>>>
>>> Where does this patch stand? I think Ard was asking for it to be
>>> split,
On 2016-08-03 13:47:09, Ard Biesheuvel wrote:
>
> > On 3 aug. 2016, at 22:13, Jordan Justen wrote:
> >
> > Where does this patch stand? I think Ard was asking for it to be
> > split, but also wondering if it was really required...
> >
> > Some devs are still
> On 3 aug. 2016, at 22:13, Jordan Justen wrote:
>
> Where does this patch stand? I think Ard was asking for it to be
> split, but also wondering if it was really required...
>
> Some devs are still reporting unsupported relocation errors during the
> build.
Where does this patch stand? I think Ard was asking for it to be
split, but also wondering if it was really required...
Some devs are still reporting unsupported relocation errors during the
build. (mischief on irc, for example.)
-Jordan
On 2016-08-02 05:00:43, Ard Biesheuvel wrote:
> On 2
Thanks - I searched for the subject on my edk2-devel archive and didn't see
anything. I now see the patch sent 6/21, so yeah about 3 months later. :)
Next time I ask that the maintainer respond to the original email please
(granted I screwed up because I forgot to include them specifically on
Hi Eugene,
I think it has been fixed on master already. See the commit below:
commit 85df61243cb56c3d9c52a5005e65c4ea8bf60e52
Author: Qiu Shumin
Date: Tue Jun 21 16:18:56 2016 +0800
MdePkg: Fix 'cd ..\..' go up only 1 level.
When we try to cd up two levels
Reminder (a few months later)
> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf
> Of Cohen, Eugene
> Sent: Wednesday, March 30, 2016 4:51 PM
> To: edk2-devel@lists.01.org
> Cc: Thompson, Mark L. (Boise IPG)
> Subject:
On 3 August 2016 at 15:20, Gao, Liming wrote:
> Ard:
>
> Thanks for your detail explain. I understand it. I add my rb for this
> patch set.
>
>
>
> Reviewed-by: Liming Gao
>
Pushed as
108c5b601860 BaseTools GCC: move -c compiler flag to build rules
On 3 August 2016 at 10:21, Ard Biesheuvel wrote:
> Currently, the ArmVirtQemuKernel and ArmVirtXen platforms will not build
> for ARM when using CLANG35, due to the fact that the compiler emits
> MOVT/MOVW pairs into objects that are used by the relocatable PrePi, and
>
On Wed, Aug 03, 2016 at 02:50:59PM +0200, Ard Biesheuvel wrote:
> On 3 August 2016 at 13:21, Laszlo Ersek wrote:
> > On 08/03/16 12:00, Ard Biesheuvel wrote:
> >> On 3 August 2016 at 11:56, Laszlo Ersek wrote:
> >>> On 08/03/16 10:21, Ard Biesheuvel wrote:
>
On 3 August 2016 at 13:19, Laszlo Ersek wrote:
> On 08/03/16 12:02, Ard Biesheuvel wrote:
>> On 3 August 2016 at 12:00, Laszlo Ersek wrote:
>>> On 08/03/16 10:21, Ard Biesheuvel wrote:
The clang developers have made a backward incompatible change to the
On 3 August 2016 at 13:21, Laszlo Ersek wrote:
> On 08/03/16 12:00, Ard Biesheuvel wrote:
>> On 3 August 2016 at 11:56, Laszlo Ersek wrote:
>>> On 08/03/16 10:21, Ard Biesheuvel wrote:
This library is only used by the various PrePi implementations, all
On 08/03/16 12:00, Ard Biesheuvel wrote:
> On 3 August 2016 at 11:56, Laszlo Ersek wrote:
>> On 08/03/16 10:21, Ard Biesheuvel wrote:
>>> This library is only used by the various PrePi implementations, all of
>>> which are of type SEC.
>>
>> You can actually enforce that client
On 08/03/16 12:02, Ard Biesheuvel wrote:
> On 3 August 2016 at 12:00, Laszlo Ersek wrote:
>> On 08/03/16 10:21, Ard Biesheuvel wrote:
>>> The clang developers have made a backward incompatible change to the
>>> command line arguments, and have replaced '-mllvm -arm-use-movt=0'
On 3 August 2016 at 12:00, Laszlo Ersek wrote:
> On 08/03/16 10:21, Ard Biesheuvel wrote:
>> The clang developers have made a backward incompatible change to the
>> command line arguments, and have replaced '-mllvm -arm-use-movt=0'
>> with '-mno-movt'. This does not matter for
On 08/03/16 10:21, Ard Biesheuvel wrote:
> The clang developers have made a backward incompatible change to the
> command line arguments, and have replaced '-mllvm -arm-use-movt=0'
> with '-mno-movt'. This does not matter for most ARM platforms, and
> therefore it has been removed from the default
On 3 August 2016 at 11:56, Laszlo Ersek wrote:
> On 08/03/16 10:21, Ard Biesheuvel wrote:
>> This library is only used by the various PrePi implementations, all of
>> which are of type SEC.
>
> You can actually enforce that client module type restriction, by setting
>
>
On 08/03/16 10:21, Ard Biesheuvel wrote:
> This library is only used by the various PrePi implementations, all of
> which are of type SEC.
You can actually enforce that client module type restriction, by setting
LIBRARY_CLASS = MemoryAllocationLib|SEC
Can you try that, in
In last commit 2502b73, it doesn't cover the case that in the DSC file
use FILE_GUID to override the module.
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu
---
Both binutils ar and LLVM ar support "cr", but LLVM ar doens't
support add "-" in the flags, and llvm-ar cannot accept "-cr".
So remove the short dash "-" to make llvm archives work.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
Add EFIAPI in CatPrint library function. Every function which uses
variable list need explicit use EFIAPI to force use MS ABI. This change
is needed to pass CLANG38 build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
---
Please review my new commits in public branch:
https://github.com/shijunjing/edk2/commits/llvm_v5
The difference from V4(https://github.com/shijunjing/edk2/commits/llvm_v4):
1. Remove the GCC5 path prefix for binutils objcopy, because a clang user may
not set GCC5_BIN.
2. Follow GCC5 to disable
This adds support for LLVM 3.8.x in LTO mode for IA32 and X64.
CLANG38 enable LLVM Link Time Optimization (LTO) and code size
optimization flag (-Oz) by default for aggressive code size
improvement. CLANG38 X64 code is small code model + PIE.
CLANG LTO needs PIE in link flags to generate PIE code
Use explicit CopyMem to replace compiler builtin to do the structure
values assignment. This change is needed to pass CLANG38 build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
Reviewed-by: Jaben Carsey
---
On 3 August 2016 at 10:58, Gao, Liming wrote:
> Ard:
> I see Steven says it doesn't work, yet. So, I am curious what real issue is
> resolved by this patch?
>
For example, when building ArmVirtQemu for ARM, you may get warnings
(or errors when -Werror is enabled) like
On 2 August 2016 at 16:51, Ard Biesheuvel wrote:
> On 2 August 2016 at 16:50, Gao, Liming wrote:
>> Ard:
>> Without this change, GCC5 LTO can pass build. With it, what difference
>> will be in the generated image? Original way may generate the
Hello Ard,
>
> Hello Steven,
>
> On 3 August 2016 at 08:48, Shi, Steven wrote:
> > This adds support for LLVM 3.8.x in LTO mode for IA32 and X64.
> > CLANG38 enable LLVM Link Time Optimization (LTO) and code size
> > optimization flag (-Oz) by default for aggressive code
The clang developers have made a backward incompatible change to the
command line arguments, and have replaced '-mllvm -arm-use-movt=0'
with '-mno-movt'. This does not matter for most ARM platforms, and
therefore it has been removed from the default CLANG35/ARM CC flags
in patch 1c63516075b3
This library is only used by the various PrePi implementations, all of
which are of type SEC. So make this library SEC as well. This may affect
the build options used by the platform.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel
Currently, the ArmVirtQemuKernel and ArmVirtXen platforms will not build
for ARM when using CLANG35, due to the fact that the compiler emits
MOVT/MOVW pairs into objects that are used by the relocatable PrePi, and
such instruction pairs are not runtime relocatable in ELF (i.e., there are
no
Restructured BraswellPlatformPkg on pentium-celeron-n-udk2015 branch of
edk2-platforms to follow Cover Creek requirement.
URL fork of edk2-platforms with the restructured code for review:
https://github.com/mangguo321/edk2-platforms/tree/Braswell
>From bf33c2b16e718f9b241889d2f3e863719731f340 Mon Sep 17 00:00:00 2001
From: david wei
Date: Wed, 3 Aug 2016 16:02:34 +0800
Subject: [PATCH] Enable Spread Spectrum of on-chip devices.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei
Hello Steven,
On 3 August 2016 at 08:48, Shi, Steven wrote:
> This adds support for LLVM 3.8.x in LTO mode for IA32 and X64.
> CLANG38 enable LLVM Link Time Optimization (LTO) and code size
> optimization flag (-Oz) by default for aggressive code size
> improvement. CLANG38
On 3 August 2016 at 08:48, Shi, Steven wrote:
> Both binutils ar and LLVM ar support "cr", but LLVM ar doens't
> support add "-" in the flags, and llvm-ar cannot accept "-cr".
> So remove the short dash "-" to make llvm archives work.
>
> Contributed-under: TianoCore
This adds support for LLVM 3.8.x in LTO mode for IA32 and X64.
CLANG38 enable LLVM Link Time Optimization (LTO) and code size
optimization flag (-Oz) by default for aggressive code size
improvement. CLANG38 X64 code is small code model + PIE.
CLANG LTO needs PIE in link flags to generate PIE code
Please review my new commits in public branch:
https://github.com/shijunjing/edk2/commits/llvm_v4
The difference from last V2(https://github.com/shijunjing/edk2/commits/llvm_v2):
1. Seperate the CLANG38 from the other two toolchains (GCC5, CLANGSCAN38), and
only focus on CLANG38 in this serial.
Both binutils ar and LLVM ar support "cr", but LLVM ar doens't
support add "-" in the flags, and llvm-ar cannot accept "-cr".
So remove the short dash "-" to make llvm archives work.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
---
Add EFIAPI in CatPrint library function. Every function which uses
variable list need explicit use EFIAPI to force use MS ABI. This change
is needed to pass CLANG38 build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
---
Use explicit CopyMem to replace compiler builtin to do the structure
values assignment. This change is needed to pass CLANG38 build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi
Reviewed-by: Jaben Carsey
---
46 matches
Mail list logo