Matthew Garrett
|
1fe26ab4a0
|
* grub-core/kern/main.c (grub_set_prefix_and_root): Set variable
cmdpath to firmware directory.
|
2013-11-14 15:53:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
e744219bb6
|
Implement boot time analysis framework.
|
2013-03-19 20:25:09 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
774683685f
|
Lift up core size limits on some platforms. Fix potential memory
corruption with big core on small memory systems. Document remaining
limits.
|
2013-03-07 08:17:24 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
be174e5ef3
|
* grub-core/kern/main.c (grub_set_prefix_and_root): Strip trailing
platform from firmware path.
|
2013-03-01 10:35:51 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
f35abd8190
|
* grub-core/kern/main.c (grub_set_prefix_and_root): Fix memory leak.
* grub-core/net/drivers/ieee1275/ofnet.c
(grub_ieee1275_net_config_real): Likewise.
|
2012-06-22 11:51:48 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
eb6d0dd3a1
|
* grub-core/kern/main.c (grub_set_prefix_and_root): Skip escaped commas
when looking for partition separator.
|
2012-06-20 23:33:34 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
02a2bf8384
|
Add noreturn attributes and remove unreachable code.
* grub-core/bus/cs5536.c (grub_cs5536_smbus_wait): Remove unreachable
code.
* grub-core/commands/halt.c (grub_cmd_halt): Remove unreachable
code. Mark as noreturn.
* grub-core/commands/minicmd.c (grub_mini_cmd_exit): Likewise.
* grub-core/commands/reboot.c (grub_cmd_reboot): Likewise.
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Remove
unreachable code.
* grub-core/kern/main.c (grub_main): Mark as noreturn.
* grub-core/kern/rescue_reader.c (grub_rescue_run): Likewise.
* grub-core/lib/posix_wrap/stdlib.h (abort): Likewise.
* grub-core/normal/menu.c (run_menu): Remove unreachable code.
* include/grub/kernel.h (grub_main): Mark as noreturn.
* include/grub/reader.h (grub_rescue_run): Likewise.
|
2011-12-13 15:13:51 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
36dd20ad0b
|
* grub-core/kern/main.c (grub_set_prefix_and_root): Init prefix.
|
2011-10-19 20:30:06 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
a97501d238
|
Make grub_prefix into module to fix the arbitrary limit and save
some space.
* grub-core/kern/emu/main.c (grub_prefix): Removed.
* grub-core/kern/i386/coreboot/startup.S (grub_prefix): Likewise.
* grub-core/kern/i386/efi/startup.S (grub_prefix): Likewise.
* grub-core/kern/i386/ieee1275/startup.S (grub_prefix): Likewise.
* grub-core/kern/i386/pc/startup.S (grub_prefix): Likewise.
* grub-core/kern/i386/qemu/startup.S (grub_prefix): Likewise.
* grub-core/kern/ia64/efi/startup.S (grub_prefix): Likewise.
* grub-core/kern/mips/startup.S (grub_prefix): Likewise.
* grub-core/kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
* grub-core/kern/sparc64/ieee1275/crt0.S (grub_prefix): Likewise.
* grub-core/kern/x86_64/efi/startup.S (grub_prefix): Likewise.
* include/grub/ia64/efi/kernel.h: Removed.
* include/grub/kernel.h: New module type OBJ_TYPE_PREFIX.
(grub_prefix): Removed.
* include/grub/offsets.h (GRUB_KERNEL_I386_PC_PREFIX): Removed.
(GRUB_KERNEL_I386_PC_PREFIX_END): Likewise.
(GRUB_KERNEL_I386_QEMU_PREFIX): Likewise.
(GRUB_KERNEL_I386_QEMU_PREFIX_END): Likewise.
(GRUB_KERNEL_SPARC64_IEEE1275_PREFIX): Likewise.
(GRUB_KERNEL_SPARC64_IEEE1275_PREFIX_END): Likewise.
(GRUB_KERNEL_POWERPC_IEEE1275_PREFIX): Likewise.
(GRUB_KERNEL_POWERPC_IEEE1275_PREFIX_END): Likewise.
(GRUB_KERNEL_MIPS_LOONGSON_PREFIX): Likewise.
(GRUB_KERNEL_MIPS_LOONGSON_PREFIX_END): Likewise.
(GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX): Likewise.
(GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX_END): Likewise.
(GRUB_KERNEL_MIPS_ARC_PREFIX): Likewise.
(GRUB_KERNEL_MIPS_ARC_PREFIX_END): Likewise.
(GRUB_KERNEL_I386_EFI_PREFIX): Likewise.
(GRUB_KERNEL_I386_EFI_PREFIX_END): Likewise.
(GRUB_KERNEL_IA64_EFI_PREFIX): Likewise.
(GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
(GRUB_KERNEL_X86_64_EFI_PREFIX): Likewise.
(GRUB_KERNEL_X86_64_EFI_PREFIX_END): Likewise.
(GRUB_KERNEL_I386_COREBOOT_PREFIX): Likewise.
(GRUB_KERNEL_I386_COREBOOT_PREFIX_END): Likewise.
(GRUB_KERNEL_I386_MULTIBOOT_PREFIX): Likewise.
(GRUB_KERNEL_I386_MULTIBOOT_PREFIX_END): Likewise.
(GRUB_KERNEL_I386_IEEE1275_PREFIX): Likewise.
(GRUB_KERNEL_I386_IEEE1275_PREFIX_END): Likewise.
(GRUB_KERNEL_MACHINE_PREFIX): Likewise.
(GRUB_KERNEL_MACHINE_PREFIX_END): Likewise.
* grub-core/kern/main.c (grub_set_prefix_and_root): Retrieve grub_prefix
from module.
* util/grub-mkimage.c (image_target_desc): Removed prefix and
prefix_end.
(image_targets): Likewise.
(generate_image): Put prefix as a module.
|
2011-10-18 15:21:51 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
39705fadd7
|
Replace grub_module_iterate with FOR_MODULES.
* grub-core/disk/memdisk.c (GRUB_MOD_INIT): Switched to new interface.
* grub-core/kern/efi/efi.c (grub_arch_modules_addr): Renamed to...
(grub_efi_modules_addr): ...this.
* grub-core/kern/efi/init.c (grub_modbase): New variable.
(grub_efi_init): Set grub_modbase.
* grub-core/kern/emu/main.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
* grub-core/kern/i386/coreboot/init.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* grub-core/kern/i386/pc/init.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* grub-core/kern/ieee1275/init.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* grub-core/kern/main.c (grub_module_iterate): Remove.
(grub_modules_get_end): Use grub_modbase.
(grub_load_modules): Use FOR_MODULES.
(grub_load_config): Likewise.
* grub-core/kern/mips/arc/init.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* grub-core/kern/mips/loongson/init.c (grub_arch_modules_addr): Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* grub-core/kern/mips/qemu_mips/init.c (grub_arch_modules_addr):
Removed.
(grub_modbase): New variable.
(grub_machine_init): Set grub_modbase.
* include/grub/efi/efi.h (grub_efi_modules_addr): New declaration.
* include/grub/kernel.h (grub_arch_modules_addr): Removed.
(grub_module_iterate): Likewise.
(grub_modbase): New variable declaration.
(FOR_MODULES): New macro.
|
2011-10-16 15:23:29 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
03a0046581
|
merge mainline into net
|
2011-07-02 18:52:50 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
574618a2e9
|
unify prefix handling across platforms
|
2011-07-02 14:09:36 +02:00 |
|
Patrick
|
6295b32f79
|
* grub-core/kern/main.c (grub_load_normal_mode): Correct the comment.
|
2011-06-25 01:09:32 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
3666d5f636
|
merge mainline and various cleanups
|
2011-05-17 14:02:18 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
54da1febce
|
Rename mipsel-yeeloong to mipsel-loongson
|
2011-02-19 13:18:05 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
4531a206a1
|
* grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable.
(set_env_limn_ro): Likewise.
(GRUB_MOD_INIT): Likewise.
* grub-core/hook/datehook.c (GRUB_MOD_INIT): Likewise. Change to
ARRAY_SIZE while on it.
(GRUB_MOD_FINI): Change to ARRAY_SIZE.
* grub-core/normal/context.c (grub_env_export): Move from here ...
* grub-core/kern/env.c (grub_env_export): ... here.
* grub-core/normal/context.c (grub_cmd_export): Skip exporting root and
prefix.
* grub-core/kern/main.c (grub_main): Export root and prefix.
* include/grub/env.h (grub_env_export): Export.
Reported by: Seth Goldberg.
|
2011-01-11 11:51:05 +01:00 |
|
BVK Chaitanya
|
297f0c2b6e
|
merge with mainline
|
2010-07-13 00:43:28 +05:30 |
|
BVK Chaitanya
|
bd7390ee84
|
pull-in emu-lite fixes
|
2010-06-02 15:18:33 +05:30 |
|
BVK Chaitanya
|
16321bf9ca
|
pull-in emu-lite branch
|
2010-05-06 12:55:47 +05:30 |
|
BVK Chaitanya
|
8c41176882
|
automake commit without merge history
|
2010-05-06 11:34:04 +05:30 |
|