From: Ivan Gorinov <ivan.gorinov@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/3] Remove unused _relocate arguments
Date: Thu, 28 Jun 2018 14:27:24 -0700 [thread overview]
Message-ID: <20180628212724.GA19764@intel.com> (raw)
In-Reply-To: <CAEUhbmVjNA33khuJyzY6fAGhRO4F8jmxpWaEykUF6RdB0f6VCw@mail.gmail.com>
On Thu, Jun 28, 2018 at 03:57:24PM +0800, Bin Meng wrote:
> Hi Ivan,
>
> On Wed, Jun 27, 2018 at 11:41 PM, Ivan Gorinov <ivan.gorinov@intel.com> wrote:
> > EFI image handle and system table are not used in _relocate().
> >
> > v3:
> > Rebased on u-boot/master
> >
> > v2:
> > Separated the changes in efi_main() arguments and calling convention.
> >
> > Ivan Gorinov (3):
> > x86: Remove unused _relocate arguments
>
> I don't understand the v3 patch now.
>
> In previous v1/v2 patch, you did not change x86's _relocate() to
> declare EFIAPI, but in v3, you suddenly added EFIAPI to the x86
> version but without adding EFIAPI to arm and risv, why?
Keeping default calling convention in v2 was a mistake because the
x86_64 startup code passes _relocate() arguments using EFI convention.
I will submit another version that consistently uses EFIAPI in _relocate().
>
> > arm: Remove unused _relocate arguments
> > riscv: Remove unused _relocate arguments
> >
> > arch/arm/lib/crt0_aarch64_efi.S | 2 --
> > arch/arm/lib/crt0_arm_efi.S | 2 --
> > arch/arm/lib/reloc_aarch64_efi.c | 3 +--
> > arch/arm/lib/reloc_arm_efi.c | 3 +--
> > arch/riscv/lib/reloc_riscv_efi.c | 3 +--
> > arch/x86/lib/crt0_x86_64_efi.S | 3 ---
> > arch/x86/lib/reloc_ia32_efi.c | 3 +--
> > arch/x86/lib/reloc_x86_64_efi.c | 3 +--
> > 8 files changed, 5 insertions(+), 17 deletions(-)
> >
>
> Regards,
> Bin
prev parent reply other threads:[~2018-06-28 21:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-27 15:41 [U-Boot] [PATCH v3 0/3] Remove unused _relocate arguments Ivan Gorinov
2018-06-27 15:41 ` [U-Boot] [PATCH v3 1/3] x86: " Ivan Gorinov
2018-06-27 15:41 ` [U-Boot] [PATCH v3 2/3] arm: " Ivan Gorinov
2018-06-27 15:42 ` [U-Boot] [PATCH v3 3/3] riscv: " Ivan Gorinov
2018-06-27 15:57 ` [U-Boot] [PATCH v3 0/3] " Andy Shevchenko
2018-06-28 7:57 ` Bin Meng
2018-06-28 21:27 ` Ivan Gorinov [this message]
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-all 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=20180628212724.GA19764@intel.com \
--to=ivan.gorinov@intel.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.