diff options
Diffstat (limited to 'genisoimage/bootinfo.h')
-rw-r--r-- | genisoimage/bootinfo.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/genisoimage/bootinfo.h b/genisoimage/bootinfo.h new file mode 100644 index 0000000..a02bd65 --- /dev/null +++ b/genisoimage/bootinfo.h @@ -0,0 +1,46 @@ +/* + * This file has been modified for the cdrkit suite. + * + * The behaviour and appearence of the program code below can differ to a major + * extent from the version distributed by the original author(s). + * + * For details, see Changelog file distributed with the cdrkit package. If you + * received this file from another source then ask the distributing person for + * a log of modifications. + * + */ + +/* @(#)bootinfo.h 1.3 04/03/02 Copyright 1999, 2004 J. Schilling */ +/* + * Header file bootinfo.h - genisoimage-defined boot information table + * useful for an El Torito-loaded disk image. + * + * Copyright (c) 1999, 2004 J. Schilling + */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; see the file COPYING. If not, write to the Free Software + * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef _BOOTINFO_H +#define _BOOTINFO_H + +struct genisoimage_boot_info { + char bi_pvd [ISODCL(1, 4)]; /* LBA of PVD */ + char bi_file [ISODCL(5, 8)]; /* LBA of boot image */ + char bi_length [ISODCL(9, 12)]; /* Length of boot image */ + char bi_csum [ISODCL(13, 16)]; /* Checksum of boot image */ + char bi_reserved [ISODCL(17, 56)]; /* Reserved */ +}; + +#endif /* _BOOTINFO_H */ |