Fix compilation

This commit is contained in:
Vladimir Serbinenko committed 2013-10-25 14:46:59 +02:00
1 parent 85872c8373
commit 8a9ece7b4c
3 files changed
+6 -8

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ get_uuid (const char *name, char **uuid, int getnative)
case GRUB_DISK_DEVICE_ARCDISK_ID:
case GRUB_DISK_DEVICE_HOSTDISK_ID:
case GRUB_DISK_DEVICE_UBOOTDISK_ID:
case GRUB_DISK_DEVICE_SRMDISK_ID:
break;
/* Native disks. */
+1 -1
View File
@@ -32,7 +32,7 @@ typedef enum grub_memory_type
GRUB_MEMORY_BADRAM = 5,
GRUB_MEMORY_COREBOOT_TABLES = 16,
GRUB_MEMORY_CODE = 20,
GRUB_MEMORY_NVRAM = 22
GRUB_MEMORY_NVRAM = 22,
/* This one is special: it's used internally but is never reported
by firmware. Don't use -1 as it's used internally for other purposes. */
GRUB_MEMORY_HOLE = -2,
+4 -7
View File
@@ -531,16 +531,9 @@ static const struct grub_install_image_target_desc image_targets[] =
.bigendian = 0,
.id = IMAGE_ALPHA_SRM,
.flags = PLATFORM_FLAGS_NONE,
.prefix = GRUB_KERNEL_ALPHA_SRM_PREFIX,
.prefix_end = GRUB_KERNEL_ALPHA_SRM_PREFIX_END,
.raw_size = 0,
.total_module_size = GRUB_KERNEL_ALPHA_SRM_TOTAL_MODULE_SIZE,
.kernel_image_size = TARGET_NO_FIELD,
.compressed_size = TARGET_NO_FIELD,
.section_align = 8,
.vaddr_offset = 0,
.install_dos_part = TARGET_NO_FIELD,
.install_bsd_part = TARGET_NO_FIELD,
.elf_target = EM_ALPHA,
},
};
@@ -1162,6 +1155,10 @@ grub_install_generate_image (const char *dir, const char *prefix,
case IMAGE_PPC:
case IMAGE_UBOOT:
break;
/* No idea. */
case IMAGE_ALPHA_SRM:
break;
}
switch (image_target->id)