]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/ElTorito.h
2 ElTorito Partitions Format Definition.
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 // CDROM_VOLUME_DESCRIPTOR.Types
21 #define CDVOL_TYPE_STANDARD 0x0
22 #define CDVOL_TYPE_CODED 0x1
23 #define CDVOL_TYPE_END 0xFF
26 /// CDROM_VOLUME_DESCRIPTOR.Id
28 #define CDVOL_ID "CD001"
31 /// CDROM_VOLUME_DESCRIPTOR.SystemId
33 #define CDVOL_ELTORITO_ID "EL TORITO SPECIFICATION"
38 #define ELTORITO_ID_CATALOG 0x01
39 #define ELTORITO_ID_SECTION_BOOTABLE 0x88
40 #define ELTORITO_ID_SECTION_NOT_BOOTABLE 0x00
41 #define ELTORITO_ID_SECTION_HEADER 0x90
42 #define ELTORITO_ID_SECTION_HEADER_FINAL 0x91
45 // ELTORITO_CATALOG.Boot.MediaTypes
47 #define ELTORITO_NO_EMULATION 0x00
48 #define ELTORITO_12_DISKETTE 0x01
49 #define ELTORITO_14_DISKETTE 0x02
50 #define ELTORITO_28_DISKETTE 0x03
51 #define ELTORITO_HARD_DISK 0x04
57 /// El Torito Volume Descriptor
58 /// Note that the CDROM_VOLUME_DESCRIPTOR does not match the ISO-9660
59 /// descriptor. For some reason descriptor used by El Torito is
60 /// different, but they start the same. The El Torito descriptor
61 /// is left shifted 1 byte starting with the SystemId. (Note this
62 /// causes the field to get unaligned)
72 UINT32 VolSpaceSize
[2];
73 } CDROM_VOLUME_DESCRIPTOR
;
84 /// Catalog validation entry (Catalog header)
96 /// Initial/Default Entry or Section Entry
110 /// Section Header Entry
115 UINT16 SectionEntries
;