"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libisofs/system_area.h" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

system_area.h  (xorriso-1.5.2):system_area.h  (xorriso-1.5.4)
skipping to change at line 45 skipping to change at line 45
* @param flag unused yet, submit 0 * @param flag unused yet, submit 0
* @return <0 = fatal, 0 = failed , 1 = ok , 2 = ok with size warning * @return <0 = fatal, 0 = failed , 1 = ok , 2 = ok with size warning
*/ */
int make_isohybrid_mbr(int bin_lba, int *img_blocks, char *mbr, int flag); int make_isohybrid_mbr(int bin_lba, int *img_blocks, char *mbr, int flag);
/** /**
* Write the system area for the given image to the given buffer. * Write the system area for the given image to the given buffer.
* *
* @param buf * @param buf
* A buffer with at least 32 K allocated * A buffer with at least 32 K allocated
* @param flag
* bit0= t->opts->ms_block is not counted in t->total_size
* @return * @return
* 1 if success, < 0 on error * 1 if success, < 0 on error
*/ */
int iso_write_system_area(Ecma119Image *t, uint8_t *buf); int iso_write_system_area(Ecma119Image *t, uint8_t *buf, int flag);
/** /**
* Adjust t->tail_blocks to the eventual alignment needs of isohybrid booting. * Adjust t->tail_blocks to the eventual alignment needs of isohybrid booting.
*/ */
int iso_align_isohybrid(Ecma119Image *t, int flag); int iso_align_isohybrid(Ecma119Image *t, int flag);
/** /**
* Read the necessary ELF information from the first MIPS boot file. * Read the necessary ELF information from the first MIPS boot file.
* See doc/boot_sectors.txt "DEC Boot Block" for "MIPS Little Endian". * See doc/boot_sectors.txt "DEC Boot Block" for "MIPS Little Endian".
*/ */
skipping to change at line 72 skipping to change at line 74
*/ */
int iso_compute_append_partitions(Ecma119Image *t, int flag); int iso_compute_append_partitions(Ecma119Image *t, int flag);
/* The parameter struct for production of a single MBR partition entry. /* The parameter struct for production of a single MBR partition entry.
See also the description of MBR in doc/boot_sectors.txt. See also the description of MBR in doc/boot_sectors.txt.
No sorting by start sector and gap filling is done before the System Area No sorting by start sector and gap filling is done before the System Area
gets written. But the entries may get assigned to a desired slot number gets written. But the entries may get assigned to a desired slot number
in the table. in the table.
Requested entries with block_count == 0 get expanded to the start of Requested entries with block_count == 0 get expanded to the start of
the next requested entry resp. to image end, if no entry follows. the next requested entry resp. to image end, if no entry follows.
start_block of a follwing entry must be at least a high as the sum of start_block of a following entry must be at least a high as the sum of
start_block and block_count of the previous entry. start_block and block_count of the previous entry.
Empty requested entries will be represented as 16 bytes of 0. Empty requested entries will be represented as 16 bytes of 0.
*/ */
struct iso_mbr_partition_request { struct iso_mbr_partition_request {
/* Always given in blocks of 512 bytes */ /* Always given in blocks of 512 bytes */
uint64_t start_block; uint64_t start_block;
/* A block count of 0 means that the partition reaches up to the start of /* A block count of 0 means that the partition reaches up to the start of
the next one. the next one.
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)