]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: use correct type for AllocatePages, AllocatePool
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 17 Aug 2021 13:05:31 +0000 (15:05 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 17 Aug 2021 15:24:08 +0000 (17:24 +0200)
commit7d1485f4af1827d9a4584e6b38d464e2ba15861a
tree0147c9de5eb3ac88a38deafdad07509eed59bd21
parentb2cb075bcf2760fe909f56d11923bc22df5f2f78
efi_loader: use correct type for AllocatePages, AllocatePool

Use enum efi_memory_type and enum_allocate_type in the definitions of the
efi_allocate_pages(), efi_allocate_pool().

In the external UEFI API leave the type as int as the UEFI specification
explicitely requires that enums use a 32bit type.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_loader.h
lib/efi_loader/efi_memory.c