iPXE
iso9660.h File Reference

ISO9660 CD-ROM specification. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  iso9660_primary_descriptor_fixed
 An ISO9660 Primary Volume Descriptor (fixed portion) More...
struct  iso9660_primary_descriptor
 An ISO9660 Primary Volume Descriptor. More...

Macros

#define ISO9660_BLKSIZE   2048
 ISO9660 block size.
#define ISO9660_TYPE_PRIMARY   0x01
 ISO9660 Primary Volume Descriptor type.
#define ISO9660_PRIMARY_LBA   16
 ISO9660 Primary Volume Descriptor block address.
#define ISO9660_TYPE_BOOT   0x00
 ISO9660 Boot Volume Descriptor type.
#define ISO9660_ID   "CD001"
 ISO9660 identifier.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
struct iso9660_primary_descriptor_fixed __attribute__ ((packed))

Variables

uint8_t type
 Descriptor type.
uint8_t id [5]
 Identifier ("CD001")
struct iso9660_primary_descriptor_fixed fixed
 Fixed portion.

Detailed Description

ISO9660 CD-ROM specification.

Definition in file iso9660.h.

Macro Definition Documentation

◆ ISO9660_BLKSIZE

#define ISO9660_BLKSIZE   2048

ISO9660 block size.

Definition at line 17 of file iso9660.h.

Referenced by sandev_parse_iso9660().

◆ ISO9660_TYPE_PRIMARY

#define ISO9660_TYPE_PRIMARY   0x01

ISO9660 Primary Volume Descriptor type.

Definition at line 34 of file iso9660.h.

Referenced by sandev_parse_iso9660().

◆ ISO9660_PRIMARY_LBA

#define ISO9660_PRIMARY_LBA   16

ISO9660 Primary Volume Descriptor block address.

Definition at line 37 of file iso9660.h.

Referenced by sandev_parse_iso9660().

◆ ISO9660_TYPE_BOOT

#define ISO9660_TYPE_BOOT   0x00

ISO9660 Boot Volume Descriptor type.

Definition at line 40 of file iso9660.h.

Referenced by int13_parse_eltorito().

◆ ISO9660_ID

#define ISO9660_ID   "CD001"

ISO9660 identifier.

Definition at line 43 of file iso9660.h.

Referenced by int13_parse_eltorito(), and sandev_parse_iso9660().

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ __attribute__()

struct iso9660_primary_descriptor_fixed __attribute__ ( (packed) )

Variable Documentation

◆ type

uint8_t type

Descriptor type.

Definition at line 1 of file iso9660.h.

◆ id

uint8_t id[5]

Identifier ("CD001")

Definition at line 3 of file iso9660.h.

◆ fixed

Fixed portion.

Definition at line 1 of file iso9660.h.