grub/grub-core/loader
C. Masloch c225298038 chainloader: patch in BPB's sectors_per_track and num_heads
These fields must reflect the ROM-BIOS's geometry for CHS-based
loaders to correctly load their next stage. Most loaders do not
query the ROM-BIOS (Int13.08), relying on the BPB fields to hold
the correct values already.

Tested with lDebug booted in qemu via grub2's
FreeDOS direct loading support, refer to
https://bitbucket.org/ecm/ldosboot + https://bitbucket.org/ecm/ldebug
(For this test, lDebug's iniload.asm must be assembled with
-D_QUERY_GEOMETRY=0 to leave the BPB values provided by grub.)

Signed-off-by: C. Masloch <pushbx@38.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-03-14 13:23:27 +01:00
..
arm arm: switch linux loader to linux_arm_kernel_header struct 2018-02-23 22:42:42 +01:00
arm64 arm64: align linux kernel magic macro naming with i386 2018-02-23 22:42:42 +01:00
efi arm64/efi: move EFI_PAGE definitions to efi/memory.h 2018-02-23 22:42:42 +01:00
i386 chainloader: patch in BPB's sectors_per_track and num_heads 2018-03-14 13:23:27 +01:00
ia64/efi Remove grub_efi_allocate_pages. 2017-08-07 18:33:29 +02:00
mips Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
powerpc/ieee1275 Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
sparc64/ieee1275 OBP available region contains grub. Start at grub_phys_end. 2016-02-12 23:16:03 +01:00
aout.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
linux.c loader/linux: Make trailer initrd entry aligned again. 2015-07-20 19:07:20 +03:00
lzss.c Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
macho.c Add missing license section in macbless.mod and macho.mod. 2013-12-18 17:11:11 +01:00
macho32.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
macho64.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
machoXX.c Simplify few strings. 2013-05-07 11:44:15 +02:00
multiboot.c Fix compilation for x86_64-efi. 2017-09-07 13:55:22 +02:00
multiboot_elfxx.c multiboot: disentangle multiboot and multiboot2. 2017-08-14 14:08:54 +02:00
multiboot_mbi2.c multiboot: disentangle multiboot and multiboot2. 2017-08-14 14:08:54 +02:00
xnu.c loader/xnu: fix memory leak. 2015-01-27 22:12:06 +03:00
xnu_resume.c * grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images. 2013-10-28 14:25:22 +01:00