X-Git-Url: https://repo.jachan.dev/J-u-boot.git/blobdiff_plain/958046fc78f95a3d28b06980a7eb3ed80123c533..11d2e98d7e75dfb40651eb95c32ca36778cd96d3:/include/efi.h diff --git a/include/efi.h b/include/efi.h index dc8edc8743a..98bddbac1ad 100644 --- a/include/efi.h +++ b/include/efi.h @@ -19,7 +19,7 @@ #include #include -#ifdef CONFIG_EFI_STUB_64BIT +#if CONFIG_EFI_STUB_64BIT || (!defined(CONFIG_EFI_STUB) && defined(__x86_64__)) /* EFI uses the Microsoft ABI which is not the default for GCC */ #define EFIAPI __attribute__((ms_abi)) #else @@ -227,9 +227,9 @@ struct efi_time_cap { }; enum efi_locate_search_type { - all_handles, - by_register_notify, - by_protocol + ALL_HANDLES, + BY_REGISTER_NOTIFY, + BY_PROTOCOL }; struct efi_open_protocol_info_entry {