aboutsummaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-18 20:17:19 +0200
committerAlexander Graf <agraf@suse.de>2017-07-19 14:31:04 +0200
commit503f26955489af052c0c01eaf7bdc6ae3ecc3aa2 (patch)
tree74a09ae5c95c7dbf170ae64f9976a121d4ea472d /include/efi_loader.h
parentc68415922b340c6b26f94326a6899977a67d61c9 (diff)
downloadu-boot-503f26955489af052c0c01eaf7bdc6ae3ecc3aa2.zip
u-boot-503f26955489af052c0c01eaf7bdc6ae3ecc3aa2.tar.gz
u-boot-503f26955489af052c0c01eaf7bdc6ae3ecc3aa2.tar.bz2
efi_loader: correct size for tpl level
The UEFI standard defines the type for the tpl level as EFI_TPL alias UINTN. UINTN is an integer is defined as an unsigned integer of native width. So we can use size_t for the definition. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 3d18bfb..b922720 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -77,7 +77,7 @@ struct efi_object {
*/
struct efi_event {
u32 type;
- unsigned long notify_tpl;
+ UINTN notify_tpl;
void (EFIAPI *notify_function)(struct efi_event *event, void *context);
void *notify_context;
u64 trigger_next;