efi_loader: parameter types for CreateEvent, SetTimer
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Wed, 19 Jul 2017 17:22:34 +0000 (19:22 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 24 Jul 2017 12:54:29 +0000 (14:54 +0200)
commitb521d29eb1b0dd7be8ee306729f93d964c4c0288
treef9a5c58aaf7568fe60ba0faa20f6560d18168c79
parent7cbc12415dad707b94d755311126059e5cdc65e3
efi_loader: parameter types for CreateEvent, SetTimer

The first argument 'type' of CreateEvent is an 32bit unsigned
integer bitmap and not an enum.

The second argument 'type' of SetTimer take values of an
enum which is called EFI_TIMER_DELAY in the UEFI standard.
To avoid confusion rename efi_event_type to efi_timer_delay.

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
include/efi_loader.h
lib/efi_loader/efi_boottime.c