- 12 Oct, 2016 1 commit
-
-
Mike Hibler authored
-
- 02 Aug, 2016 2 commits
-
-
Mike Hibler authored
This is needed for Xen to boot.
-
Mike Hibler authored
-
- 01 Aug, 2016 1 commit
-
-
Mike Hibler authored
-
- 27 May, 2016 1 commit
-
-
Mike Hibler authored
Also add menu items for forcing disk or MFS boot.
-
- 30 Apr, 2016 6 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
Another gratuitous seek avoidance measure.
-
Mike Hibler authored
This segment just references part of another PT_LOAD segment that contains info related to dynamic linking. Loading this segment just re-loads a part of another segment that was already loaded. More gratuitous seeks, bad for TFTP. The FreeBSD loader handles the PT_DYNAMIC segment, but it appears to be for its own benefit and does not affect the kernel that was loaded.
-
Mike Hibler authored
-
Mike Hibler authored
Gratuitous seeks are bad for TFTP.
-
- 22 Apr, 2016 2 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
-
- 22 Mar, 2016 1 commit
-
-
Andrei Borzenkov authored
OpenBSD 5.9 apparently defaults to -fpie. We use -fno-PIE when appropriate already, but that is not enough - it does not turn off -fpie. Actually check for -fPIE is not precise enough. __PIE__ is set for both -fpie and -fPIE but with different values. As far as I can tell, both options were introduced at the same time, so both should always be supported. This fixes compilation on OpenBSD 5.9 which otherwise created insanely big lzma_decompress.img. Reported, suggested and tested by: Jiri B <jirib@devio.us>
-
- 20 Mar, 2016 1 commit
-
-
Andrei Borzenkov authored
grub_net_add_addr may fail with OOM and we use returned interface later without any checks.
-
- 19 Mar, 2016 1 commit
-
-
Andrei Borzenkov authored
-
- 15 Mar, 2016 1 commit
-
-
Aaron Luft authored
Historically this variable hold previous value of filename that had to be freed if allocated previously. Currently this branch is entered only if filename was not allocated previously so it became redundant. It did not cause real problems because grub_free was not called, but code is confusing and causes compilation error in some cases.
-
- 12 Mar, 2016 1 commit
-
-
Andrei Borzenkov authored
Fixes compilation on OpenBSD 5.9. Reported by Jiri B <jirib@devio.us>
-
- 11 Mar, 2016 2 commits
-
-
Robert Marshall authored
Grub would notify the user if the new config was invalid, however, it did not exit properly with exit code 1. Added the proper exit code. Resolves: rhbz#1252311
-
Michael Chang authored
-
- 10 Mar, 2016 1 commit
-
-
Vladimir Serbinenko authored
Reported by: Daniel Kiper
-
- 05 Mar, 2016 2 commits
-
-
Andrei Borzenkov authored
Same fix as in 082bc9f7.
-
Mike Gilbert authored
Commit 7290bb56 causes GRUB_DISABLE_LINUX_UUID to be ignored due to mixing of || and && operators. Add some parens to help with that.
-
- 28 Feb, 2016 1 commit
-
-
Andrei Borzenkov authored
-
- 27 Feb, 2016 15 commits
-
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Leif Lindholm authored
Returned from the OpenProtocol operation, the grub_efi_block_io_media structure contains the io_align field, specifying the minimum alignment required for buffers used in any data transfers with the device. Make grub_efidisk_readwrite() allocate a temporary buffer, aligned to this boundary, if the buffer passed to it does not already meet the requirements. Also sanity check the io_align field in grub_efidisk_open() for power-of-two-ness and bail if invalid.
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
This is a no-op on x86 but necessarry on ARM and may be necessarry on MIPS.
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
For this ensure that all bss sections are merged. We need this to correctly prelink non-PE relocatable images.
-
Vladimir Serbinenko authored
Currently we pass around a lot of pointer. Instead put all relevant data into one structure.
-
Vladimir Serbinenko authored
As a preparation for U-Boot relocations, split emitting PE-relocations from parsing source ELF-relocations.
-
Vladimir Serbinenko authored
util/grub-mkimagexx.c is included in a special way into mkimage.c. Interoperation between defines makes this very tricky. Instead just have a clean interface and compile util/grub-mkimage*.c separately from mkimage.c
-
Vladimir Serbinenko authored
kernel_type may be set to the type of failed kernel. This patching-up is easier than to reflow kernel loading routines.
-
Vladimir Serbinenko authored
This just pollutes serial console.
-
Vladimir Serbinenko authored
-
Andrei Borzenkov authored
-
- 26 Feb, 2016 1 commit
-
-
Andrei Borzenkov authored
Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. This actually matches pretty close (we obviously attempt to read outside of media) and avoids adding more error codes. This affects only internally initiated scans. If read/write from removable is explicitly requested, we still return an error and text explanation is more clear for user than generic error. Reported and tested by Andreas Loew <Andreas.Loew@gmx.net>
-