[MKISOFS]
[reactos.git] / reactos / sdk / tools / mkisofs / schilytools / mkisofs / bootinfo.h
diff --git a/reactos/sdk/tools/mkisofs/schilytools/mkisofs/bootinfo.h b/reactos/sdk/tools/mkisofs/schilytools/mkisofs/bootinfo.h
new file mode 100644 (file)
index 0000000..309f24d
--- /dev/null
@@ -0,0 +1,34 @@
+/* @(#)bootinfo.h      1.3 04/03/02 Copyright 1999, 2004 J. Schilling */
+/*
+ *     Header file bootinfo.h - mkisofs-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 mkisofs_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 */