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>
This commit is contained in:
Heinrich Schuchardt 2020-03-24 17:52:40 +01:00
parent a44d2a2399
commit 724d28171e
2 changed files with 8 additions and 0 deletions

View file

@ -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,