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> |
||
|---|---|---|
| .. | ||
| coreboot | ||
| efi | ||
| pc | ||
| bsd.c | ||
| bsd32.c | ||
| bsd64.c | ||
| bsd_pagetable.c | ||
| bsdXX.c | ||
| linux.c | ||
| multiboot_mbi.c | ||
| xen.c | ||
| xen_file.c | ||
| xen_file32.c | ||
| xen_file64.c | ||
| xen_fileXX.c | ||
| xnu.c | ||