1 #ifndef _IPXE_ISO9660_H
2 #define _IPXE_ISO9660_H
7 * ISO9660 CD-ROM specification
11 FILE_LICENCE ( GPL2_OR_LATER );
15 /** ISO9660 block size */
16 #define ISO9660_BLKSIZE 2048
18 /** An ISO9660 Primary Volume Descriptor (fixed portion) */
19 struct iso9660_primary_descriptor_fixed {
20 /** Descriptor type */
22 /** Identifier ("CD001") */
24 } __attribute__ (( packed ));
26 /** An ISO9660 Primary Volume Descriptor */
27 struct iso9660_primary_descriptor {
29 struct iso9660_primary_descriptor_fixed fixed;
30 } __attribute__ (( packed ));
32 /** ISO9660 Primary Volume Descriptor type */
33 #define ISO9660_TYPE_PRIMARY 0x01
35 /** ISO9660 Primary Volume Descriptor block address */
36 #define ISO9660_PRIMARY_LBA 16
38 /** ISO9660 Boot Volume Descriptor type */
39 #define ISO9660_TYPE_BOOT 0x00
41 /** ISO9660 identifier */
42 #define ISO9660_ID "CD001"
44 #endif /* _IPXE_ISO9660_H */