mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
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>
This commit is contained in:
committed by
Alexander Graf
parent
661c8327a6
commit
ff925938c8
@@ -429,11 +429,12 @@ struct efi_simple_input_interface efi_con_in = {
|
|||||||
|
|
||||||
static struct efi_event *console_timer_event;
|
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);
|
EFI_ENTRY("%p, %p", event, context);
|
||||||
if (tstc())
|
if (tstc())
|
||||||
|
Reference in New Issue
Block a user