]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/efi.h
kconfig: arm: move ARCH_MX? out of choice which selects TARGETs that depend on those
[karo-tx-uboot.git] / include / efi.h
index 1470c0825c4b6f394b5b48cdf42f33acddc95a44..fcafda0b0bf5fed0ac9adfce5dd9d8dfb7eb080c 100644 (file)
 #include <linux/string.h>
 #include <linux/types.h>
 
+#ifdef CONFIG_EFI_STUB_64BIT
+/* EFI uses the Microsoft ABI which is not the default for GCC */
+#define EFIAPI __attribute__((ms_abi))
+#else
+#define EFIAPI
+#endif
+
 struct efi_device_path;
 
 #define EFI_SUCCESS            0