Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 927826
Collapse All | Expand All

(-)a/include/grub/efi/api.h (-1 / +4 lines)
Lines 590-595 typedef grub_efi_uintn_t grub_efi_status_t; Link Here
590
 * annotation. (This includes protocols implemented by GRUB that are installed
590
 * annotation. (This includes protocols implemented by GRUB that are installed
591
 * into the EFI protocol database.)
591
 * into the EFI protocol database.)
592
 */
592
 */
593
#if !defined(GRUB_UTIL)
593
#if defined(__i386__)
594
#if defined(__i386__)
594
#define __grub_efi_api			__attribute__((regparm(0)))
595
#define __grub_efi_api			__attribute__((regparm(0)))
595
#elif defined(__x86_64__)
596
#elif defined(__x86_64__)
Lines 597-602 typedef grub_efi_uintn_t grub_efi_status_t; Link Here
597
#else
598
#else
598
#define __grub_efi_api
599
#define __grub_efi_api
599
#endif
600
#endif
601
#else /* defined(GRUB_UTIL) */
602
#define __grub_efi_api
603
#endif
600
604
601
#define GRUB_EFI_ERROR_CODE(value)	\
605
#define GRUB_EFI_ERROR_CODE(value)	\
602
  ((((grub_efi_status_t) 1) << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
606
  ((((grub_efi_status_t) 1) << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
603
- 

Return to bug 927826