[U-Boot] [PATCH v2 03/17] efi_loader: pass GUIDs as const efi_guid_t *

Simon Glass sjg at chromium.org
Mon Oct 9 04:43:46 UTC 2017


On 5 October 2017 at 08:35, 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>
> ---
> v2
>         no change
> ---
>  include/efi_api.h             | 27 ++++++++++++++-------------
>  lib/efi_loader/efi_boottime.c | 40 +++++++++++++++++++++-------------------
>  2 files changed, 35 insertions(+), 32 deletions(-)

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


More information about the U-Boot mailing list