summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/ElTorito.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/IndustryStandard/ElTorito.h')
-rw-r--r--MdePkg/Include/IndustryStandard/ElTorito.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/MdePkg/Include/IndustryStandard/ElTorito.h b/MdePkg/Include/IndustryStandard/ElTorito.h
index a8deb461d0..d8b1c27dfb 100644
--- a/MdePkg/Include/IndustryStandard/ElTorito.h
+++ b/MdePkg/Include/IndustryStandard/ElTorito.h
@@ -67,6 +67,9 @@ typedef union {
CHAR8 Reserved[82];
} Unknown;
+ ///
+ /// Boot Record Volume Descriptor, defined in "El Torito" Specification.
+ ///
struct {
UINT8 Type; ///< Must be 0
CHAR8 Id[5]; ///< "CD001"
@@ -76,7 +79,10 @@ typedef union {
UINT8 EltCatalog[4]; ///< Absolute pointer to first sector of Boot Catalog
CHAR8 Unused2[13]; ///< Must be 0
} BootRecordVolume;
-
+
+ ///
+ /// Primary Volumn Descriptor, defined in ISO 9660.
+ ///
struct {
UINT8 Type;
CHAR8 Id[5]; ///< "CD001"
@@ -102,7 +108,7 @@ typedef union {
/// Catalog validation entry (Catalog header)
///
struct {
- UINT8 Indicator;
+ UINT8 Indicator; ///< Must be 01
UINT8 PlatformId;
UINT16 Reserved;
CHAR8 ManufacId[24];
@@ -114,12 +120,12 @@ typedef union {
/// Initial/Default Entry or Section Entry
///
struct {
- UINT8 Indicator;
+ UINT8 Indicator; ///< 88 = Bootable, 00 = Not Bootable
UINT8 MediaType : 4;
- UINT8 Reserved1 : 4;
+ UINT8 Reserved1 : 4; ///< Must be 0
UINT16 LoadSegment;
UINT8 SystemType;
- UINT8 Reserved2;
+ UINT8 Reserved2; ///< Must be 0
UINT16 SectorCount;
UINT32 Lba;
} Boot;
@@ -128,9 +134,9 @@ typedef union {
/// Section Header Entry
///
struct {
- UINT8 Indicator;
+ UINT8 Indicator; ///< 90 - Header, more header follw, 91 - Final Header
UINT8 PlatformId;
- UINT16 SectionEntries;
+ UINT16 SectionEntries; ///< Number of section entries following this header
CHAR8 Id[28];
} Section;