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> |
||
---|---|---|
.. | ||
arm | ||
arm64 | ||
efi | ||
i386 | ||
ia64/efi | ||
mips | ||
powerpc/ieee1275 | ||
sparc64/ieee1275 | ||
aout.c | ||
linux.c | ||
lzss.c | ||
macho.c | ||
macho32.c | ||
macho64.c | ||
machoXX.c | ||
multiboot.c | ||
multiboot_elfxx.c | ||
multiboot_mbi2.c | ||
xnu.c | ||
xnu_resume.c |