From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 31 Aug 2017 20:51:17 +0800 Subject: [U-Boot] [PATCH 01/23] efi_loader: allow return value in EFI_CALL In-Reply-To: <20170826225110.7381-2-xypron.glpk@gmx.de> References: <20170826225110.7381-1-xypron.glpk@gmx.de> <20170826225110.7381-2-xypron.glpk@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27 August 2017 at 06:51, Heinrich Schuchardt wrote: > Macro EFI_CALL was introduced to call an UEFI function. Should this be 'an EFI'. Or 'a UEFI'? > 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 > Signed-off-by: Heinrich Schuchardt > --- > include/efi_loader.h | 17 +++++++++++++++-- > lib/efi_loader/efi_boottime.c | 3 ++- > 2 files changed, 17 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass