summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-20 03:26:07 (GMT)
committerAlexander Graf <agraf@suse.de>2017-07-24 12:48:09 (GMT)
commitff925938c8bc38b4aa5a1d4f42effee36e7a4097 (patch)
treebaf51d7e20b6fbb8e8efd7837cc742be4d6003d8 /lib
parent661c8327a6a0d8738473aaa79ab165b9e4b0b714 (diff)
downloadu-boot-fsl-qoriq-ff925938c8bc38b4aa5a1d4f42effee36e7a4097.tar.xz
efi_console: use EFIAPI for callback functions
The call to efi_create_event requires notification functions flagged as EFIAPI. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_console.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
index dbe98ac..95e6323 100644
--- a/lib/efi_loader/efi_console.c
+++ b/lib/efi_loader/efi_console.c
@@ -429,11 +429,12 @@ struct efi_simple_input_interface efi_con_in = {
static struct efi_event *console_timer_event;
-static void efi_key_notify(struct efi_event *event, void *context)
+static void EFIAPI efi_key_notify(struct efi_event *event, void *context)
{
}
-static void efi_console_timer_notify(struct efi_event *event, void *context)
+static void EFIAPI efi_console_timer_notify(struct efi_event *event,
+ void *context)
{
EFI_ENTRY("%p, %p", event, context);
if (tstc())