From: xypron.glpk@gmx.de Date: Thu, 20 Jul 2017 03:26:07 +0000 (+0200) Subject: efi_console: use EFIAPI for callback functions X-Git-Tag: v2017.09-rc1~13^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff925938c8bc38b4aa5a1d4f42effee36e7a4097;p=oweals%2Fu-boot.git efi_console: use EFIAPI for callback functions The call to efi_create_event requires notification functions flagged as EFIAPI. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index dbe98ac08b..95e632394f 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())