[U-Boot] [PATCH 01/10] efi_loader: allow return value in EFI_CALL
Simon Glass
sjg at chromium.org
Mon Sep 25 02:11:32 UTC 2017
On 15 September 2017 at 02:06, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> Macro EFI_CALL was introduced to call an UEFI function.
> Unfortunately it does not support return values.
> Most UEFI functions have a return value.
>
> So let's rename EFI_CALL to EFI_CALL_VOID and introduce a
> new EFI_CALL macro that supports return values.
>
> Cc: Rob Clark <robdclark at gmail.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> include/efi_loader.h | 17 +++++++++++++++--
> lib/efi_loader/efi_boottime.c | 3 ++-
> 2 files changed, 17 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list