]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Propagate the EFI commits to x86-efi specific parts.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 11 Dec 2013 15:11:17 +0000 (16:11 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 11 Dec 2013 15:11:17 +0000 (16:11 +0100)
ChangeLog
grub-core/commands/efi/loadbios.c
grub-core/loader/efi/appleloader.c
grub-core/loader/i386/xnu.c

index ad5daf02a1dad9ae39c24422cc0c0b184260606a..ccbc2dc8e53d50ca311c97050c2b7accde27c326 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-11  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Propagate the EFI commits to x86-efi specific parts.
+
 2013-12-11  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/commands/efi/lssal.c: Fix terminating condition.
index 214adc3d2e205d756a07235ffac56e0f3e6573a5..132cadbc7643734620a576988986ee2156e69fb9 100644 (file)
@@ -105,7 +105,7 @@ fake_bios_data (int use_rom)
   smbios = 0;
   for (i = 0; i < grub_efi_system_table->num_table_entries; i++)
     {
-      grub_efi_guid_t *guid =
+      grub_efi_packed_guid_t *guid =
        &grub_efi_system_table->configuration_table[i].vendor_guid;
 
       if (! grub_memcmp (guid, &acpi2_guid, sizeof (grub_efi_guid_t)))
index 56d55388541504a4dc72c6d8f4583659c67398e2..3777c7f0b2c6c2b1e0df382101530bca23c385a0 100644 (file)
@@ -76,7 +76,7 @@ struct piwg_full_device_path
       .header = {                                                      \
        .type = GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE,                     \
        .subtype = GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE,          \
-       .length = {sizeof (struct grub_efi_memory_mapped_device_path), 0} \
+       .length = sizeof (struct grub_efi_memory_mapped_device_path)    \
       },                                                               \
       .memory_type = GRUB_EFI_MEMORY_MAPPED_IO,                                \
       .start_address = st,                                             \
@@ -87,7 +87,7 @@ struct piwg_full_device_path
        .header = {                                                     \
          .type = GRUB_EFI_MEDIA_DEVICE_PATH_TYPE,                      \
          .subtype = GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE,                 \
-         .length = {sizeof (struct grub_efi_piwg_device_path), 0}      \
+         .length = sizeof (struct grub_efi_piwg_device_path)           \
        },                                                              \
        .guid = {0x2B0585EB, 0xD8B8, 0x49A9, {0x8B, 0x8C, 0xE2, 0x1B,   \
                                              0x01, 0xAE, 0xF2, 0xB7}}  \
@@ -96,7 +96,7 @@ struct piwg_full_device_path
          {                                                             \
            .type = GRUB_EFI_END_DEVICE_PATH_TYPE,                      \
            .subtype = GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE,         \
-           .length = {sizeof (struct grub_efi_device_path), 0}         \
+           .length = sizeof (struct grub_efi_device_path)              \
          }                                                             \
   }
 
index 1b22bed9edd6a339d485d3856f8c5465b8d64cfb..e83e1e9725d9f992a2966a4216a9f23df4941ae9 100644 (file)
@@ -671,7 +671,7 @@ grub_cpu_xnu_fill_devicetree (grub_uint64_t *fsbfreq_out)
     {
       void *ptr;
       struct grub_xnu_devtree_key *curkey;
-      grub_efi_guid_t guid;
+      grub_efi_packed_guid_t guid;
       char guidbuf[64];
 
       /* Retrieve current key. */