public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: Andrew Fish <afish@apple.com>,
	Michael D Kinney <michael.d.kinney@intel.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	 Feng Tian <feng.tian@intel.com>, Star Zeng <star.zeng@intel.com>
Subject: Re: [PATCH] MdeModulePkg: add ARM/AARCH64 requirements to .dsc
Date: Wed, 19 Oct 2016 16:57:30 +0100	[thread overview]
Message-ID: <CAF7UmSyG_gfcW3AmurCFNZbbUg1kLnx6sQgnp7ZTqURpRh+eXQ@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu8ztz3nAJPyCTtRwJCUdfMMcAR9opAxTobH23+xNBaXew@mail.gmail.com>

Andrew, Mike - are you OK with me committing this?

On 27 September 2016 at 03:24, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> On 26 September 2016 at 18:15, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>> Some LibraryClasses entries are missing to enable standalone builds
>> of MdeModulePkg components for ARM/AARCH64. Add those.
>>
>> Contributed-under: TianoCore Contribution Agreement 1.0
>> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
>
> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
>> ---
>>
>> Tying back to the conversation in
>> https://lists.01.org/pipermail/edk2-devel/2016-August/000733.html
>>
>> If we are not going to refactor the DxeIpl code, would this be an
>> acceptable fix to enable standalone HelloWorld builds on ARM/AARCH64?
>>
>> BaseStackCheckLib is unrelated to the DxeIpl issue, but needed in
>> practice on ARM and in theory on AARCH64.
>>
>>  MdeModulePkg/MdeModulePkg.dsc | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
>> index 05120c7..3eb55db 100644
>> --- a/MdeModulePkg/MdeModulePkg.dsc
>> +++ b/MdeModulePkg/MdeModulePkg.dsc
>> @@ -160,6 +160,9 @@ [LibraryClasses.common.UEFI_APPLICATION]
>>    DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
>>
>>  [LibraryClasses.ARM, LibraryClasses.AARCH64]
>> +  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
>> +  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
>> +
>>    #
>>    # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
>>    # This library provides the instrinsic functions generated by a given compiler.
>> @@ -167,6 +170,12 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64]
>>    #
>>    NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
>>
>> +  #
>> +  # Since software stack checking may be heuristically enabled by the compiler
>> +  # include BaseStackCheckLib unconditionally.
>> +  #
>> +  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
>> +
>>  [LibraryClasses.EBC]
>>    LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
>>
>> --
>> 2.9.3
>>


  reply	other threads:[~2016-10-19 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  1:15 [PATCH] MdeModulePkg: add ARM/AARCH64 requirements to .dsc Leif Lindholm
2016-09-27  2:24 ` Ard Biesheuvel
2016-10-19 15:57   ` Leif Lindholm [this message]
2016-10-19 22:56     ` Kinney, Michael D
2016-10-20  8:17       ` Leif Lindholm
2016-10-20  9:11         ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF7UmSyG_gfcW3AmurCFNZbbUg1kLnx6sQgnp7ZTqURpRh+eXQ@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox