Bug fix: isohybrid image size was not aligned to cylinder boundary.

Now the cylinder size gets adjusted if the image does not fit into 1024 cyl.
This commit is contained in:
2011-03-01 18:31:59 +01:00
parent de3e21629f
commit e035146e01
5 changed files with 151 additions and 21 deletions

View File

@ -46,6 +46,11 @@ int make_isohybrid_mbr(int bin_lba, int *img_blocks, char *mbr, int flag);
*/
int iso_write_system_area(Ecma119Image *t, uint8_t *buf);
/**
* Adjust t->tail_blocks to the eventual alignment needs of isohybrid booting.
*/
int iso_align_isohybrid(Ecma119Image *t, int flag);
/**
* Read the necessary ELF information from the first MIPS boot file.