From da986226622fb4f6beda382f5e19c812c81bb027 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 24 Dec 2013 14:14:19 +0100 Subject: [PATCH] Declare GRUB_EFI_VENDOR_APPLE_GUID. --- ChangeLog | 4 ++++ grub-core/loader/efi/appleloader.c | 3 +-- include/grub/efi/api.h | 6 ++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21106903c..20cc11f67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-24 Vladimir Serbinenko + + Declare GRUB_EFI_VENDOR_APPLE_GUID. + 2013-12-24 Vladimir Serbinenko Dump type and vendor specific data when printing device path. diff --git a/grub-core/loader/efi/appleloader.c b/grub-core/loader/efi/appleloader.c index 3777c7f0b..74888c463 100644 --- a/grub-core/loader/efi/appleloader.c +++ b/grub-core/loader/efi/appleloader.c @@ -89,8 +89,7 @@ struct piwg_full_device_path .subtype = GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE, \ .length = sizeof (struct grub_efi_piwg_device_path) \ }, \ - .guid = {0x2B0585EB, 0xD8B8, 0x49A9, {0x8B, 0x8C, 0xE2, 0x1B, \ - 0x01, 0xAE, 0xF2, 0xB7}} \ + .guid = GRUB_EFI_VENDOR_APPLE_GUID \ }, \ .end = \ { \ diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index 233e792a5..ad0f0ec71 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -280,6 +280,12 @@ { 0xb1b621d5, 0xf19c, 0x41a5, \ { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } \ } + +#define GRUB_EFI_VENDOR_APPLE_GUID \ + { 0x2B0585EB, 0xD8B8, 0x49A9, \ + { 0x8B, 0x8C, 0xE2, 0x1B, 0x01, 0xAE, 0xF2, 0xB7 } \ + } + struct grub_efi_sal_system_table { grub_uint32_t signature;