mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
Fix compilation
This commit is contained in:
1 parent
85872c8373
commit
8a9ece7b4c
3 files changed
+6
-8
No files matched your search
@@ -70,6 +70,7 @@ get_uuid (const char *name, char **uuid, int getnative)
|
|||||||
case GRUB_DISK_DEVICE_ARCDISK_ID:
|
case GRUB_DISK_DEVICE_ARCDISK_ID:
|
||||||
case GRUB_DISK_DEVICE_HOSTDISK_ID:
|
case GRUB_DISK_DEVICE_HOSTDISK_ID:
|
||||||
case GRUB_DISK_DEVICE_UBOOTDISK_ID:
|
case GRUB_DISK_DEVICE_UBOOTDISK_ID:
|
||||||
|
case GRUB_DISK_DEVICE_SRMDISK_ID:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Native disks. */
|
/* Native disks. */
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ typedef enum grub_memory_type
|
|||||||
GRUB_MEMORY_BADRAM = 5,
|
GRUB_MEMORY_BADRAM = 5,
|
||||||
GRUB_MEMORY_COREBOOT_TABLES = 16,
|
GRUB_MEMORY_COREBOOT_TABLES = 16,
|
||||||
GRUB_MEMORY_CODE = 20,
|
GRUB_MEMORY_CODE = 20,
|
||||||
GRUB_MEMORY_NVRAM = 22
|
GRUB_MEMORY_NVRAM = 22,
|
||||||
/* This one is special: it's used internally but is never reported
|
/* 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. */
|
by firmware. Don't use -1 as it's used internally for other purposes. */
|
||||||
GRUB_MEMORY_HOLE = -2,
|
GRUB_MEMORY_HOLE = -2,
|
||||||
|
|||||||
+4
-7
@@ -531,16 +531,9 @@ static const struct grub_install_image_target_desc image_targets[] =
|
|||||||
.bigendian = 0,
|
.bigendian = 0,
|
||||||
.id = IMAGE_ALPHA_SRM,
|
.id = IMAGE_ALPHA_SRM,
|
||||||
.flags = PLATFORM_FLAGS_NONE,
|
.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,
|
.total_module_size = GRUB_KERNEL_ALPHA_SRM_TOTAL_MODULE_SIZE,
|
||||||
.kernel_image_size = TARGET_NO_FIELD,
|
|
||||||
.compressed_size = TARGET_NO_FIELD,
|
|
||||||
.section_align = 8,
|
.section_align = 8,
|
||||||
.vaddr_offset = 0,
|
.vaddr_offset = 0,
|
||||||
.install_dos_part = TARGET_NO_FIELD,
|
|
||||||
.install_bsd_part = TARGET_NO_FIELD,
|
|
||||||
.elf_target = EM_ALPHA,
|
.elf_target = EM_ALPHA,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -1162,6 +1155,10 @@ grub_install_generate_image (const char *dir, const char *prefix,
|
|||||||
case IMAGE_PPC:
|
case IMAGE_PPC:
|
||||||
case IMAGE_UBOOT:
|
case IMAGE_UBOOT:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* No idea. */
|
||||||
|
case IMAGE_ALPHA_SRM:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (image_target->id)
|
switch (image_target->id)
|
||||||
|
|||||||
Reference in new issue
Block a user