From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 11/16] efi_loader: implement DisconnectController
Date: Tue, 9 Jan 2018 00:11:51 +0100 [thread overview]
Message-ID: <00703c26-e99f-39ab-e4e2-b4e15757d37b@gmx.de> (raw)
In-Reply-To: <CAPnjgZ3uWCaz-T+W+de33_XsC+mH-C7o7rzKW70+O83QmHdnLA@mail.gmail.com>
On 01/08/2018 04:35 AM, Simon Glass wrote:
> Hi Heinrich,
>
> On 17 December 2017 at 08:43, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>> Unfortunately we need a forward declaration because both
>> OpenProtocol and CloseProtocol have to call DisconnectController.
>> And DisconnectController calls both OpenProtcol and CloseProtocol.
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>> ---
>> lib/efi_loader/efi_boottime.c | 283 ++++++++++++++++++++++++++++++++++++++----
>> 1 file changed, 261 insertions(+), 22 deletions(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> I think it would be good to reduce the length of some of the identifies.
>
> e.g. numbers_of_children -> child_count or num_children
number_of_children is what we used in the function definition in
efi_api.h and is the name of the parameter in the UEFI spec.
I understand that you do not like bloat. But I tend to get confused when
parameter names differ from the spec.
Regards
Heinrich
>
> It's just too verbose for U-Boot IMO.
>
> - Simon
>
next prev parent reply other threads:[~2018-01-08 23:11 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 15:43 [U-Boot] [PATCH 00/16] efi_loader: implement driver management Heinrich Schuchardt
2017-12-17 15:43 ` [U-Boot] [PATCH 01/16] efi_selftest: colored test output Heinrich Schuchardt
2018-01-08 3:32 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 02/16] efi_loader: simplify efi_remove_all_protocols Heinrich Schuchardt
2018-01-08 3:32 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 03/16] efi_selftest: do not try to close device path protocol Heinrich Schuchardt
2018-01-08 3:33 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 04/16] efi_loader: list of open protocol infos Heinrich Schuchardt
2018-01-08 3:33 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 05/16] efi_loader: open_info in OpenProtocol Heinrich Schuchardt
2018-01-08 3:34 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 06/16] efi_loader: open_info in CloseProtocol Heinrich Schuchardt
2018-01-08 3:34 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 07/16] efi_loader: implement OpenProtocolInformation Heinrich Schuchardt
2018-01-08 3:34 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 08/16] efi_loader: debug output installed device path Heinrich Schuchardt
2018-01-08 3:35 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 09/16] efi_loader: implement ConnectController Heinrich Schuchardt
2018-01-08 3:35 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 10/16] efi_loader: fix signature of efi_disconnect_controller Heinrich Schuchardt
2018-01-08 3:35 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 11/16] efi_loader: implement DisconnectController Heinrich Schuchardt
2018-01-08 3:35 ` Simon Glass
2018-01-08 23:11 ` Heinrich Schuchardt [this message]
2018-02-04 13:39 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 12/16] efi_loader: disconnect controllers in UninstallProtocol Heinrich Schuchardt
2018-01-08 3:36 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 13/16] efi_selftest: remove todo in manage protocols Heinrich Schuchardt
2018-01-08 3:36 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 14/16] efi_selftest: remove todo in device path test Heinrich Schuchardt
2018-01-08 3:37 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 15/16] efi_selftest: test for (Dis)ConnectController Heinrich Schuchardt
2018-01-08 3:37 ` Simon Glass
2017-12-17 15:43 ` [U-Boot] [PATCH 16/16] efi_loader: consistently use efi_handle_t for handles Heinrich Schuchardt
2018-01-08 3:37 ` Simon Glass
2018-01-08 23:21 ` Heinrich Schuchardt
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=00703c26-e99f-39ab-e4e2-b4e15757d37b@gmx.de \
--to=xypron.glpk@gmx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox