xorriso  1.5.4.pl02
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.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

eltorito.h File Reference
#include "ecma119.h"
#include "node.h"
Include dependency graph for eltorito.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Iso_Boot
struct  el_torito_boot_catalog
struct  el_torito_boot_image
struct  el_torito_validation_entry
struct  el_torito_default_entry
struct  el_torito_section_header
struct  el_torito_section_entry


#define Libisofs_max_boot_imageS   32
#define Libisofs_grub2_elto_patch_poS   (512 * 5 - 12)
#define Libisofs_grub2_elto_patch_offsT   5
#define Libisofs_elto_max_patchablE   (32 * 1024 * 1024)


void el_torito_boot_catalog_free (struct el_torito_boot_catalog *cat)
int el_torito_catalog_file_src_create (Ecma119Image *target, IsoFileSrc **src)
int eltorito_writer_create (Ecma119Image *target)
int make_boot_info_table (uint8_t *buf, uint32_t pvd_lba, uint32_t boot_lba, uint32_t imgsize)
int iso_patch_eltoritos (Ecma119Image *t)

Macro Definition Documentation

◆ Libisofs_elto_max_patchablE

#define Libisofs_elto_max_patchablE   (32 * 1024 * 1024)

Definition at line 188 of file eltorito.h.

◆ Libisofs_grub2_elto_patch_offsT

#define Libisofs_grub2_elto_patch_offsT   5

Definition at line 181 of file eltorito.h.

◆ Libisofs_grub2_elto_patch_poS

#define Libisofs_grub2_elto_patch_poS   (512 * 5 - 12)

Definition at line 180 of file eltorito.h.

◆ Libisofs_max_boot_imageS

#define Libisofs_max_boot_imageS   32

Definition at line 40 of file eltorito.h.

Function Documentation

◆ el_torito_boot_catalog_free()

◆ el_torito_catalog_file_src_create()

int el_torito_catalog_file_src_create ( Ecma119Image target,
IsoFileSrc **  src 

Create a IsoFileSrc for writing the el-torito catalog for the given target, and add it to target. If the target already has a src for the catalog, it just returns.

Definition at line 1199 of file eltorito.c.

References ecma119_image::cat, ecma119_image::catalog, catalog_stream_new(), Iso_File_Src::checksum_index, iso_file_src_add(), ISO_OUT_OF_MEM, iso_stream_unref(), ISO_SUCCESS, Iso_File_Src::no_write, Iso_File_Src::nsections, Iso_File_Src::sections, el_torito_boot_catalog::sort_weight, Iso_File_Src::sort_weight, Iso_File_Src::stream, and catalog_stream::target.

Referenced by create_boot_cat(), create_node(), create_tree(), and eltorito_writer_create().

◆ eltorito_writer_create()

◆ iso_patch_eltoritos()

◆ make_boot_info_table()

int make_boot_info_table ( uint8_t *  buf,
uint32_t  pvd_lba,
uint32_t  boot_lba,
uint32_t  imgsize 

Insert boot info table content into buf.

1 on success, 0 error (but continue), < 0 error

Definition at line 1252 of file eltorito.c.

References boot_info_table::bi_csum, boot_info_table::bi_file, boot_info_table::bi_length, boot_info_table::bi_pvd, ISO_ISOLINUX_CANT_PATCH, iso_lsb(), iso_read_lsb(), and ISO_SUCCESS.

Referenced by iso_image_eval_boot_info_table(), and patch_boot_info_table().