efi_loader: Add an EFI_CALL() macro
authorRob Clark <robdclark@gmail.com>
Thu, 27 Jul 2017 12:04:17 +0000 (08:04 -0400)
committerAlexander Graf <agraf@suse.de>
Fri, 28 Jul 2017 07:15:45 +0000 (09:15 +0200)
commita095aadffa96f3814d5605792674a6d64951db51
tree451ddae5da88f5ab5468442390254fb1ae310cb1
parent3f1aa97577b75ee2f4f13d2b9fbaf68ce89f42be
efi_loader: Add an EFI_CALL() macro

Rather than open-coding EFI_EXIT() + callback + EFI_ENTRY(), introduce
an EFI_CALL() macro.  This makes callbacks into UEFI world (of which
there will be more in the future) more concise and easier to locate in
the code.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c