3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Data Structures required for detecting ElTorito Partitions
29 // CDROM_VOLUME_DESCRIPTOR.Types
31 #define CDVOL_TYPE_STANDARD 0x0
32 #define CDVOL_TYPE_CODED 0x1
33 #define CDVOL_TYPE_END 0xFF
36 // CDROM_VOLUME_DESCRIPTOR.Id
38 #define CDVOL_ID "CD001"
41 // CDROM_VOLUME_DESCRIPTOR.SystemId
43 #define CDVOL_ELTORITO_ID "EL TORITO SPECIFICATION"
48 #define ELTORITO_ID_CATALOG 0x01
49 #define ELTORITO_ID_SECTION_BOOTABLE 0x88
50 #define ELTORITO_ID_SECTION_NOT_BOOTABLE 0x00
51 #define ELTORITO_ID_SECTION_HEADER 0x90
52 #define ELTORITO_ID_SECTION_HEADER_FINAL 0x91
55 // ELTORITO_CATALOG.Boot.MediaTypes
57 #define ELTORITO_NO_EMULATION 0x00
58 #define ELTORITO_12_DISKETTE 0x01
59 #define ELTORITO_14_DISKETTE 0x02
60 #define ELTORITO_28_DISKETTE 0x03
61 #define ELTORITO_HARD_DISK 0x04
64 // El Torito Volume Descriptor
65 // Note that the CDROM_VOLUME_DESCRIPTOR does not match the ISO-9660
66 // descriptor. For some reason descriptor used by El Torito is
67 // different, but they start the same. The El Torito descriptor
68 // is left shifted 1 byte starting with the SystemId. (Note this
69 // causes the field to get unaligned)
79 UINT32 VolSpaceSize
[2];
80 } CDROM_VOLUME_DESCRIPTOR
;
91 // Catalog validation entry (Catalog header)
103 // Initial/Default Entry or Section Entry
117 // Section Header Entry
122 UINT16 SectionEntries
;