grub/grub-core/loader/i386
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
..
coreboot Fix remaining cases of gcc 7 fallthrough warning. 2017-04-12 01:42:38 +00:00
pc chainloader: patch in BPB's sectors_per_track and num_heads 2018-03-14 13:23:27 +01:00
bsd.c bsd: Ensure that kernel is loaded before loading module. 2016-02-27 13:35:36 +01:00
bsd32.c automake commit without merge history 2010-05-06 11:34:04 +05:30
bsd64.c automake commit without merge history 2010-05-06 11:34:04 +05:30
bsd_pagetable.c * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): 2010-10-16 22:16:52 +02:00
bsdXX.c loader/bsd: Fix signed/unsigned comparison 2016-01-16 20:40:55 +00:00
linux.c i386: make struct linux_kernel_header architecture specific 2018-02-23 22:42:42 +01:00
multiboot_mbi.c multiboot: disentangle multiboot and multiboot2. 2017-08-14 14:08:54 +02:00
xen.c xen: Fix handling of GRUB chainloading. 2017-02-07 00:42:43 +01:00
xen_file.c i386: make struct linux_kernel_header architecture specific 2018-02-23 22:42:42 +01:00
xen_file32.c Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
xen_file64.c Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
xen_fileXX.c xen: add capability to load p2m list outside of kernel mapping 2016-10-27 16:22:06 +02:00
xnu.c xnu: Supply random seed. 2016-02-12 12:40:10 +01:00