summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-24 19:52:40 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-12 00:14:17 +0300
commit724d28171e5bd239866cdf885a7b70c059ddd563 (patch)
tree87deda5dc86262927ae9bdb694f514bc20fa9151 /include/efi_api.h
parenta44d2a23992ba70dfeefbad9c55249bfc6be9fbc (diff)
downloadu-boot-724d28171e5bd239866cdf885a7b70c059ddd563.tar.xz
efi_loader: optional pointer for ConvertPointer
If the EFI_OPTIONAL_PTR is set in DebugDisposition, a NULL pointer does not constitute an invalid parameter. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 759d911875..5744f6aed8 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -251,6 +251,8 @@ struct efi_rt_properties_table {
u32 runtime_services_supported;
};
+#define EFI_OPTIONAL_PTR 0x00000001
+
struct efi_runtime_services {
struct efi_table_hdr hdr;
efi_status_t (EFIAPI *get_time)(struct efi_time *time,