From: "Marvin Häuser" <mhaeuser@posteo.de>
To: devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH 1/5] MdeModulePkg/PeiCore: Align fixed-address error behaviour
Date: Sun, 22 Aug 2021 09:28:57 +0000 [thread overview]
Message-ID: <eb62a078-cfab-86da-4ca4-4b65016d23a0@posteo.de> (raw)
In-Reply-To: <3f1f8c6f-ec62-f30b-45c1-bda5c466a3ce@posteo.de>
Got it:
https://public-inbox.org/git/4db7759c-2123-533b-9f89-954c07f5832a@posteo.de/T/#u
Sorry, once more, for the "spam" :)
Best regards,
Marvin
On 21/08/2021 22:10, Marvin Häuser wrote:
> Good day,
>
> Is someone firm with the details around git send-mail? I explicitly
> disabled threading (i.e. "git config sendemail.thread" yields
> "false"), and the original patch file does not contain any
> "In-Reply-To" header. Yet I can see it being added referring to the
> cover letter of a different patch in the git log, with no explanation
> at all. Any pointers so I don't keep sending brokenly-threaded sets by
> accident? Sorry!
>
> Best regards,
> Marvin
>
> On 21/08/2021 21:55, Marvin Häuser wrote:
>> Update the control flow to take the same actions for failed
>> fixed-address loading as if the feature was disabled. This
>> primarily removes code duplication.
>>
>> Cc: Jian J Wang <jian.j.wang@intel.com>
>> Cc: Hao A Wu <hao.a.wu@intel.com>
>> Cc: Dandan Bi <dandan.bi@intel.com>
>> Cc: Liming Gao <gaoliming@byosoft.com.cn>
>> Cc: Debkumar De <debkumar.de@intel.com>
>> Cc: Harry Han <harry.han@intel.com>
>> Cc: Catharine West <catharine.west@intel.com>
>> Cc: Vitaly Cheptsov <vit9696@protonmail.com>
>> Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
>> ---
>> MdeModulePkg/Core/Pei/Image/Image.c | 14 +++++++-------
>> 1 file changed, 7 insertions(+), 7 deletions(-)
>>
>> diff --git a/MdeModulePkg/Core/Pei/Image/Image.c
>> b/MdeModulePkg/Core/Pei/Image/Image.c
>> index 5af3895191a5..94adbed82e44 100644
>> --- a/MdeModulePkg/Core/Pei/Image/Image.c
>> +++ b/MdeModulePkg/Core/Pei/Image/Image.c
>> @@ -364,18 +364,18 @@ LoadAndRelocatePeCoffImage (
>> AlignImageSize += ImageContext.SectionAlignment;
>>
>> }
>>
>>
>> + Status = EFI_UNSUPPORTED;
>>
>> +
>>
>> if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 &&
>> (Private->HobList.HandoffInformationTable->BootMode !=
>> BOOT_ON_S3_RESUME)) {
>>
>> Status =
>> GetPeCoffImageFixLoadingAssignedAddress(&ImageContext, Private);
>>
>> if (EFI_ERROR (Status)){
>>
>> DEBUG ((EFI_D_INFO|EFI_D_LOAD, "LOADING MODULE FIXED ERROR:
>> Failed to load module at fixed address. \n"));
>>
>> - //
>>
>> - // The PEIM is not assigned valid address, try to allocate
>> page to load it.
>>
>> - //
>>
>> - Status = PeiServicesAllocatePages (EfiBootServicesCode,
>>
>> - EFI_SIZE_TO_PAGES
>> ((UINT32) AlignImageSize),
>>
>> - &ImageContext.ImageAddress);
>>
>> }
>>
>> - } else {
>>
>> + }
>>
>> + if (EFI_ERROR (Status)){
>>
>> + //
>>
>> + // The PEIM is not assigned valid address, try to allocate
>> page to load it.
>>
>> + //
>>
>> Status = PeiServicesAllocatePages (EfiBootServicesCode,
>>
>> EFI_SIZE_TO_PAGES
>> ((UINT32) AlignImageSize),
>>
>> &ImageContext.ImageAddress);
>>
>
next prev parent reply other threads:[~2021-08-22 9:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-21 19:55 [PATCH 0/3] Update GDB and RVCT symbols loading to use the Image base address Marvin Häuser
2021-08-21 19:55 ` [PATCH 1/3] EmulatorPkg: Use Image base address for GDB symbols loading Marvin Häuser
2021-08-21 19:55 ` [PATCH 1/1] MdeModulePkg: Move PiSmmCoreMemoryAllocationLib into PiSmmCore Marvin Häuser
2021-09-01 4:21 ` Ni, Ray
2021-09-01 7:17 ` Marvin Häuser
2021-09-02 10:53 ` Ni, Ray
2021-09-02 13:22 ` [edk2-devel] " Marvin Häuser
2021-09-03 1:29 ` 回复: " gaoliming
2021-08-21 19:55 ` [PATCH 1/5] MdeModulePkg/PeiCore: Align fixed-address error behaviour Marvin Häuser
2021-08-21 19:55 ` [PATCH 2/5] MdeModulePkg/DxeCore: " Marvin Häuser
2021-08-21 19:55 ` [PATCH 3/5] MdeModulePkg/DxeCore: Check for fixed-address Image relocations Marvin Häuser
2021-08-21 19:55 ` [PATCH 4/5] MdeModulePkg/PiSmmIpl: Disallow stripped " Marvin Häuser
2021-08-21 19:55 ` [PATCH 5/5] MdeModulePkg/PiSmmCore: " Marvin Häuser
2021-08-21 20:10 ` [edk2-devel] [PATCH 1/5] MdeModulePkg/PeiCore: Align fixed-address error behaviour Marvin Häuser
2021-08-22 9:28 ` Marvin Häuser [this message]
2021-08-21 19:55 ` [PATCH 2/3] ArmPkg: Use Image base address for GDB symbols loading Marvin Häuser
2021-08-21 19:55 ` [PATCH 3/3] ArmPkg: Use Image base address for RVCT " Marvin Häuser
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=eb62a078-cfab-86da-4ca4-4b65016d23a0@posteo.de \
--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