summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-08-17 15:02:23 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-08-17 17:24:08 +0200
commitc91737b7f1a5180b8944eea2121347ef6429b17c (patch)
treeda06d72cfa38a1a41275f0a32d203dc6d0395aaa /include/efi_api.h
parent3ced574530e13b12cec3dc9ef87f1a175fb76c83 (diff)
efi_loader rename enum efi_mem_type to efi_memory_type
Use the same name as in the UEFI specification to avoid confusion. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 38ac47f164..c8f959bb72 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -249,7 +249,7 @@ struct efi_memory_range {
struct efi_memory_range_capsule {
struct efi_capsule_header *header;
/* EFI_MEMORY_TYPE: 0x80000000-0xFFFFFFFF */
- enum efi_mem_type os_requested_memory_type;
+ enum efi_memory_type os_requested_memory_type;
u64 number_of_memory_ranges;
struct efi_memory_range memory_ranges[];
} __packed;