components/cdrtools/patches/iso9660.h.patch
changeset 1695 983495f058ad
parent 1694 a9247976d914
child 1696 62660898c6d6
equal deleted inserted replaced
1694:a9247976d914 1695:983495f058ad
     1 --- cdrtools-3.00/mkisofs/iso9660.h.orig	Tue Jun 28 15:30:50 2011
       
     2 +++ cdrtools-3.00/mkisofs/iso9660.h	Tue Jun 28 15:32:46 2011
       
     3 @@ -169,6 +169,29 @@
       
     4  	char pad2			[ISODCL(13,  32)];
       
     5  };
       
     6  
       
     7 +/* El Torito section header entry in boot catalog */
       
     8 +struct eltorito_sectionheader_entry {
       
     9 +	char flags			[ISODCL(1,    1)]; /* 711 */
       
    10 +#define	ELTORITO_SHDR_FLAG_SHDR		0x90
       
    11 +#define	ELTORITO_SHDR_FLAG_LAST_SHDR	0x91
       
    12 +	char platform_id		[ISODCL(2,    2)];
       
    13 +	char entry_count		[ISODCL(3,    4)]; /* 711 */
       
    14 +	char id				[ISODCL(5,   32)];
       
    15 +};
       
    16 +
       
    17 +/* El Torito initial/default entry in boot catalog */
       
    18 +struct eltorito_section_entry {
       
    19 +	char boot_id			[ISODCL(1,    1)]; /* 711 */
       
    20 +	char boot_media			[ISODCL(2,    2)];
       
    21 +	char loadseg			[ISODCL(3,    4)]; /* 711 */
       
    22 +	char sys_type			[ISODCL(5,    5)];
       
    23 +	char pad1			[ISODCL(6,    6)];
       
    24 +	char nsect			[ISODCL(7,    8)];
       
    25 +	char bootoff			[ISODCL(9,   12)];
       
    26 +	 char sel_criteria		[ISODCL(13,  13)];
       
    27 +	char vendor_sel_criteria	[ISODCL(14,  32)];
       
    28 +};
       
    29 +
       
    30  /*
       
    31   * XXX JS: The next two structures have odd lengths!
       
    32   * Some compilers (e.g. on Sun3/mc68020) padd the structures to even length.