[U-Boot] [PATCH 14/23] efi_loader: pass GUIDs as const efi_guid_t *

Simon Glass sjg at chromium.org
Thu Aug 31 12:51:58 UTC 2017


On 27 August 2017 at 06:53, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> We need to call some boottime services internally.
> Our GUIDs are stored as const efi_guid_t *.
>
> The boottime services never change GUIDs.
> So we can define the parameters as const efi_guid_t *.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  include/efi_api.h             | 44 +++++++++++++++++++++----------------------
>  include/efi_loader.h          |  4 ++--
>  lib/efi_loader/efi_boottime.c | 37 ++++++++++++++++++------------------
>  3 files changed, 43 insertions(+), 42 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Good.


More information about the U-Boot mailing list