search for: load_block

Displaying 1 result from an estimated 1 matches for "load_block".

Did you mean: load_blob
2009 Nov 20
0
[PATCH] memdisk: Use boot_lba logic for booting an offset within the di
...bytes (512 vs. 2048) */ @@ -451,6 +452,9 @@ static const struct geometry *get_disk_image_geometry(uint32_t where, /* If we have an emulation mode, set the offset to the image */ if (boot_cat->initial_entry.media_type) hd_geometry.offset += boot_cat->initial_entry.load_block * 2048; + else + /* We're a no-emulation mode, so we will boot to an offset */ + hd_geometry.boot_lba = boot_cat->initial_entry.load_block * 4; if (boot_cat->initial_entry.media_type < 4) { /* We're a floppy emulation mode or our params...