X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FUefi%2FUefiInternalFormRepresentation.h;h=4a1346a599d0c9c27938bbdf49926b6869f52cd2;hb=9344f0921518309295da89c221d10cbead8531aa;hp=80ae3f749021aebad865a7cc0bea93840ac6d911;hpb=fbf926add92ee7c528aed264b0b71442b2caef04;p=mirror_edk2.git diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h index 80ae3f7490..4a1346a599 100644 --- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h +++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h @@ -3,14 +3,9 @@ IFR is primarily consumed by the EFI presentation engine, and produced by EFI internal application and drivers as well as all add-in card option-ROM drivers - Copyright (c) 2006 - 2009, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP
+SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: These definitions are from UEFI 2.1 and 2.2. @@ -66,7 +61,7 @@ typedef struct { // // Value of HII package type -// +// #define EFI_HII_PACKAGE_TYPE_ALL 0x00 #define EFI_HII_PACKAGE_TYPE_GUID 0x01 #define EFI_HII_PACKAGE_FORMS 0x02 @@ -86,7 +81,7 @@ typedef struct { // /// -/// Contents of EFI_NARROW_GLYPH.Attributes +/// Contents of EFI_NARROW_GLYPH.Attributes. ///@{ #define EFI_GLYPH_NON_SPACING 0x01 #define EFI_GLYPH_WIDE 0x02 @@ -99,7 +94,7 @@ typedef struct { /// typedef struct { /// - /// The Unicode representation of the glyph. The term weight is the + /// The Unicode representation of the glyph. The term weight is the /// technical term for a character code. /// CHAR16 UnicodeWeight; @@ -108,7 +103,7 @@ typedef struct { /// UINT8 Attributes; /// - /// The column major glyph representation of the character. Bits + /// The column major glyph representation of the character. Bits /// with values of one indicate that the corresponding pixel is to be /// on when normally displayed; those with zero are off. /// @@ -116,12 +111,12 @@ typedef struct { } EFI_NARROW_GLYPH; /// -/// The EFI_WIDE_GLYPH has a preferred dimension (w x h) of 16 x 19 pixels, which is large enough +/// The EFI_WIDE_GLYPH has a preferred dimension (w x h) of 16 x 19 pixels, which is large enough /// to accommodate logographic characters. /// typedef struct { /// - /// The Unicode representation of the glyph. The term weight is the + /// The Unicode representation of the glyph. The term weight is the /// technical term for a character code. /// CHAR16 UnicodeWeight; @@ -130,20 +125,20 @@ typedef struct { /// UINT8 Attributes; /// - /// The column major glyph representation of the character. Bits - /// with values of one indicate that the corresponding pixel is to be + /// The column major glyph representation of the character. Bits + /// with values of one indicate that the corresponding pixel is to be /// on when normally displayed; those with zero are off. /// UINT8 GlyphCol1[EFI_GLYPH_HEIGHT]; /// - /// The column major glyph representation of the character. Bits - /// with values of one indicate that the corresponding pixel is to be + /// The column major glyph representation of the character. Bits + /// with values of one indicate that the corresponding pixel is to be /// on when normally displayed; those with zero are off. /// UINT8 GlyphCol2[EFI_GLYPH_HEIGHT]; /// - /// Ensures that sizeof (EFI_WIDE_GLYPH) is twice the - /// sizeof (EFI_NARROW_GLYPH). The contents of Pad must + /// Ensures that sizeof (EFI_WIDE_GLYPH) is twice the + /// sizeof (EFI_NARROW_GLYPH). The contents of Pad must /// be zero. /// UINT8 Pad[3]; @@ -187,7 +182,7 @@ typedef struct _EFI_HII_GLYPH_INFO { } EFI_HII_GLYPH_INFO; /// -/// The fixed header consists of a standard record header and +/// The fixed header consists of a standard record header, /// then the character values in this section, the flags /// (including the encoding method) and the offsets of the glyph /// information, the glyph bitmaps and the character map. @@ -209,6 +204,7 @@ typedef struct _EFI_HII_FONT_PACKAGE_HDR { #define EFI_HII_GIBT_GLYPHS 0x11 #define EFI_HII_GIBT_GLYPH_DEFAULT 0x12 #define EFI_HII_GIBT_GLYPHS_DEFAULT 0x13 +#define EFI_HII_GIBT_GLYPH_VARIABILITY 0x14 #define EFI_HII_GIBT_DUPLICATE 0x20 #define EFI_HII_GIBT_SKIP2 0x21 #define EFI_HII_GIBT_SKIP1 0x22 @@ -266,7 +262,7 @@ typedef struct _EFI_HII_GIBT_GLYPH_BLOCK { typedef struct _EFI_HII_GIBT_GLYPHS_BLOCK { EFI_HII_GLYPH_BLOCK Header; EFI_HII_GLYPH_INFO Cell; - UINT16 Count; + UINT16 Count; UINT8 BitmapData[1]; } EFI_HII_GIBT_GLYPHS_BLOCK; @@ -281,6 +277,13 @@ typedef struct _EFI_HII_GIBT_GLYPHS_DEFAULT_BLOCK { UINT8 BitmapData[1]; } EFI_HII_GIBT_GLYPHS_DEFAULT_BLOCK; +typedef struct _EFI_HII_GIBT_VARIABILITY_BLOCK { + EFI_HII_GLYPH_BLOCK Header; + EFI_HII_GLYPH_INFO Cell; + UINT8 GlyphPackInBits; + UINT8 BitmapData [1]; +} EFI_HII_GIBT_VARIABILITY_BLOCK; + typedef struct _EFI_HII_GIBT_SKIP1_BLOCK { EFI_HII_GLYPH_BLOCK Header; UINT8 SkipCount; @@ -324,8 +327,8 @@ typedef struct _EFI_HII_GUID_PACKAGE_HDR { // Section 27.3.6 // -#define UEFI_CONFIG_LANG "x-UEFI" -#define UEFI_CONFIG_LANG2 "x-i-UEFI" +#define UEFI_CONFIG_LANG "x-UEFI" +#define UEFI_CONFIG_LANG_2 "x-i-UEFI" /// /// The fixed header consists of a standard record header and then the string identifiers @@ -489,6 +492,7 @@ typedef struct _EFI_HII_IMAGE_BLOCK { #define EFI_HII_IIBT_IMAGE_24BIT 0x16 #define EFI_HII_IIBT_IMAGE_24BIT_TRANS 0x17 #define EFI_HII_IIBT_IMAGE_JPEG 0x18 +#define EFI_HII_IIBT_IMAGE_PNG 0x19 #define EFI_HII_IIBT_DUPLICATE 0x20 #define EFI_HII_IIBT_SKIP2 0x21 #define EFI_HII_IIBT_SKIP1 0x22 @@ -609,6 +613,12 @@ typedef struct _EFI_HII_IIBT_JPEG_BLOCK { UINT8 Data[1]; } EFI_HII_IIBT_JPEG_BLOCK; +typedef struct _EFI_HII_IIBT_PNG_BLOCK { + EFI_HII_IMAGE_BLOCK Header; + UINT32 Size; + UINT8 Data[1]; +} EFI_HII_IIBT_PNG_BLOCK; + typedef struct _EFI_HII_IIBT_SKIP1_BLOCK { EFI_HII_IMAGE_BLOCK Header; UINT8 SkipCount; @@ -658,6 +668,13 @@ typedef struct { UINT8 Day; } EFI_HII_DATE; +typedef struct { + EFI_QUESTION_ID QuestionId; + EFI_FORM_ID FormId; + EFI_GUID FormSetGuid; + EFI_STRING_ID DevicePath; +} EFI_HII_REF; + typedef union { UINT8 u8; UINT16 u16; @@ -667,7 +684,8 @@ typedef union { EFI_HII_TIME time; EFI_HII_DATE date; EFI_STRING_ID string; ///< EFI_IFR_TYPE_STRING, EFI_IFR_TYPE_ACTION - // UINT8 buffer[]; ///< EFI_IFR_TYPE_ORDERED_LIST + EFI_HII_REF ref; ///< EFI_IFR_TYPE_REF + // UINT8 buffer[]; ///< EFI_IFR_TYPE_BUFFER } EFI_IFR_TYPE_VALUE; // @@ -692,7 +710,7 @@ typedef union { #define EFI_IFR_INCONSISTENT_IF_OP 0x11 #define EFI_IFR_EQ_ID_VAL_OP 0x12 #define EFI_IFR_EQ_ID_ID_OP 0x13 -#define EFI_IFR_EQ_ID_LIST_OP 0x14 +#define EFI_IFR_EQ_ID_VAL_LIST_OP 0x14 #define EFI_IFR_AND_OP 0x15 #define EFI_IFR_OR_OP 0x16 #define EFI_IFR_NOT_OP 0x17 @@ -715,8 +733,8 @@ typedef union { #define EFI_IFR_VERSION_OP 0x28 #define EFI_IFR_END_OP 0x29 #define EFI_IFR_MATCH_OP 0x2A -#define EFI_IFR_SET_OP 0x2C #define EFI_IFR_GET_OP 0x2B +#define EFI_IFR_SET_OP 0x2C #define EFI_IFR_READ_OP 0x2D #define EFI_IFR_WRITE_OP 0x2E #define EFI_IFR_EQUAL_OP 0x2F @@ -769,6 +787,10 @@ typedef union { #define EFI_IFR_CATENATE_OP 0x5E #define EFI_IFR_GUID_OP 0x5F #define EFI_IFR_SECURITY_OP 0x60 +#define EFI_IFR_MODAL_TAG_OP 0x61 +#define EFI_IFR_REFRESH_ID_OP 0x62 +#define EFI_IFR_WARNING_IF_OP 0x63 +#define EFI_IFR_MATCH2_OP 0x64 // // Definitions of IFR Standard Headers @@ -800,10 +822,11 @@ typedef struct _EFI_IFR_QUESTION_HEADER { // // Flag values of EFI_IFR_QUESTION_HEADER // -#define EFI_IFR_FLAG_READ_ONLY 0x01 -#define EFI_IFR_FLAG_CALLBACK 0x04 -#define EFI_IFR_FLAG_RESET_REQUIRED 0x10 -#define EFI_IFR_FLAG_OPTIONS_ONLY 0x80 +#define EFI_IFR_FLAG_READ_ONLY 0x01 +#define EFI_IFR_FLAG_CALLBACK 0x04 +#define EFI_IFR_FLAG_RESET_REQUIRED 0x10 +#define EFI_IFR_FLAG_RECONNECT_REQUIRED 0x40 +#define EFI_IFR_FLAG_OPTIONS_ONLY 0x80 // // Definition for Opcode Reference @@ -816,7 +839,7 @@ typedef struct _EFI_IFR_DEFAULTSTORE { } EFI_IFR_DEFAULTSTORE; // -// Default Identifier of default store +// Default Identifier of default store // #define EFI_HII_DEFAULT_CLASS_STANDARD 0x0000 #define EFI_HII_DEFAULT_CLASS_MANUFACTURING 0x0001 @@ -841,6 +864,8 @@ typedef struct _EFI_IFR_VARSTORE_EFI { EFI_VARSTORE_ID VarStoreId; EFI_GUID Guid; UINT32 Attributes; + UINT16 Size; + UINT8 Name[1]; } EFI_IFR_VARSTORE_EFI; typedef struct _EFI_IFR_VARSTORE_NAME_VALUE { @@ -873,6 +898,10 @@ typedef struct _EFI_IFR_IMAGE { EFI_IMAGE_ID Id; } EFI_IFR_IMAGE; +typedef struct _EFI_IFR_MODAL_TAG { + EFI_IFR_OP_HEADER Header; +} EFI_IFR_MODAL_TAG; + typedef struct _EFI_IFR_LOCKED { EFI_IFR_OP_HEADER Header; } EFI_IFR_LOCKED; @@ -889,6 +918,12 @@ typedef struct _EFI_IFR_DEFAULT { EFI_IFR_TYPE_VALUE Value; } EFI_IFR_DEFAULT; +typedef struct _EFI_IFR_DEFAULT_2 { + EFI_IFR_OP_HEADER Header; + UINT16 DefaultId; + UINT8 Type; +} EFI_IFR_DEFAULT_2; + typedef struct _EFI_IFR_VALUE { EFI_IFR_OP_HEADER Header; } EFI_IFR_VALUE; @@ -946,6 +981,11 @@ typedef struct _EFI_IFR_REF4 { EFI_STRING_ID DevicePath; } EFI_IFR_REF4; +typedef struct _EFI_IFR_REF5 { + EFI_IFR_OP_HEADER Header; + EFI_IFR_QUESTION_HEADER Question; +} EFI_IFR_REF5; + typedef struct _EFI_IFR_RESET_BUTTON { EFI_IFR_OP_HEADER Header; EFI_IFR_STATEMENT_HEADER Statement; @@ -1099,6 +1139,12 @@ typedef struct _EFI_IFR_NO_SUBMIT_IF { EFI_STRING_ID Error; } EFI_IFR_NO_SUBMIT_IF; +typedef struct _EFI_IFR_WARNING_IF { + EFI_IFR_OP_HEADER Header; + EFI_STRING_ID Warning; + UINT8 TimeOut; +} EFI_IFR_WARNING_IF; + typedef struct _EFI_IFR_REFRESH { EFI_IFR_OP_HEADER Header; UINT8 RefreshInterval; @@ -1132,6 +1178,7 @@ typedef struct _EFI_IFR_ONE_OF_OPTION { #define EFI_IFR_TYPE_UNDEFINED 0x09 #define EFI_IFR_TYPE_ACTION 0x0A #define EFI_IFR_TYPE_BUFFER 0x0B +#define EFI_IFR_TYPE_REF 0x0C #define EFI_IFR_OPTION_DEFAULT 0x10 #define EFI_IFR_OPTION_DEFAULT_MFG 0x20 @@ -1142,6 +1189,11 @@ typedef struct _EFI_IFR_GUID { //Optional Data Follows } EFI_IFR_GUID; +typedef struct _EFI_IFR_REFRESH_ID { + EFI_IFR_OP_HEADER Header; + EFI_GUID RefreshEventGroupId; +} EFI_IFR_REFRESH_ID; + typedef struct _EFI_IFR_DUP { EFI_IFR_OP_HEADER Header; } EFI_IFR_DUP; @@ -1274,10 +1326,10 @@ typedef struct _EFI_IFR_TO_BOOLEAN { /// /// For EFI_IFR_TO_STRING, when converting from /// unsigned integers, these flags control the format: -/// 0 = unsigned decimal -/// 1 = signed decimal -/// 2 = hexadecimal (lower-case alpha) -/// 3 = hexadecimal (upper-case alpha) +/// 0 = unsigned decimal. +/// 1 = signed decimal. +/// 2 = hexadecimal (lower-case alpha). +/// 3 = hexadecimal (upper-case alpha). ///@{ #define EFI_IFR_STRING_UNSIGNED_DEC 0 #define EFI_IFR_STRING_SIGNED_DEC 1 @@ -1287,8 +1339,8 @@ typedef struct _EFI_IFR_TO_BOOLEAN { /// /// When converting from a buffer, these flags control the format: -/// 0 = ASCII -/// 8 = Unicode +/// 0 = ASCII. +/// 8 = Unicode. ///@{ #define EFI_IFR_STRING_ASCII 0 #define EFI_IFR_STRING_UNICODE 8 @@ -1359,6 +1411,11 @@ typedef struct _EFI_IFR_MATCH { EFI_IFR_OP_HEADER Header; } EFI_IFR_MATCH; +typedef struct _EFI_IFR_MATCH2 { + EFI_IFR_OP_HEADER Header; + EFI_GUID SyntaxType; +} EFI_IFR_MATCH2; + typedef struct _EFI_IFR_MULTIPLY { EFI_IFR_OP_HEADER Header; } EFI_IFR_MULTIPLY; @@ -1435,12 +1492,12 @@ typedef struct _EFI_IFR_SECURITY { typedef struct _EFI_IFR_FORM_MAP_METHOD { /// - /// The string identifier which provides the human-readable name of + /// The string identifier which provides the human-readable name of /// the configuration method for this standards map form. /// EFI_STRING_ID MethodTitle; /// - /// Identifier which uniquely specifies the configuration methods + /// Identifier which uniquely specifies the configuration methods /// associated with this standards map form. /// EFI_GUID MethodIdentifier; @@ -1448,8 +1505,8 @@ typedef struct _EFI_IFR_FORM_MAP_METHOD { typedef struct _EFI_IFR_FORM_MAP { /// - /// The sequence that defines the type of opcode as well as the length - /// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP. + /// The sequence that defines the type of opcode as well as the length + /// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP. /// EFI_IFR_OP_HEADER Header; /// @@ -1459,18 +1516,18 @@ typedef struct _EFI_IFR_FORM_MAP { /// /// One or more configuration method's name and unique identifier. /// - EFI_IFR_FORM_MAP_METHOD Methods[1]; + // EFI_IFR_FORM_MAP_METHOD Methods[]; } EFI_IFR_FORM_MAP; typedef struct _EFI_IFR_SET { /// - /// The sequence that defines the type of opcode as well as the length - /// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP. + /// The sequence that defines the type of opcode as well as the length + /// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP. /// EFI_IFR_OP_HEADER Header; /// - /// Specifies the identifier of a previously declared variable store to - /// use when storing the question's value. + /// Specifies the identifier of a previously declared variable store to + /// use when storing the question's value. /// EFI_VARSTORE_ID VarStoreId; union { @@ -1483,17 +1540,21 @@ typedef struct _EFI_IFR_SET { /// UINT16 VarOffset; } VarStoreInfo; + /// + /// Specifies the type used for storage. + /// + UINT8 VarStoreType; } EFI_IFR_SET; typedef struct _EFI_IFR_GET { /// - /// The sequence that defines the type of opcode as well as the length - /// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP. + /// The sequence that defines the type of opcode as well as the length + /// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP. /// EFI_IFR_OP_HEADER Header; /// - /// Specifies the identifier of a previously declared variable store to - /// use when retrieving the value. + /// Specifies the identifier of a previously declared variable store to + /// use when retrieving the value. /// EFI_VARSTORE_ID VarStoreId; union { @@ -1507,7 +1568,7 @@ typedef struct _EFI_IFR_GET { UINT16 VarOffset; } VarStoreInfo; /// - /// Specifies the type used for storage. + /// Specifies the type used for storage. /// UINT8 VarStoreType; } EFI_IFR_GET; @@ -1531,9 +1592,9 @@ typedef struct _EFI_IFR_MAP { /// /// Each enumeration values maps a physical key on a keyboard. /// -typedef enum { +typedef enum { EfiKeyLCtrl, - EfiKeyA0, + EfiKeyA0, EfiKeyLAlt, EfiKeySpaceBar, EfiKeyA2, @@ -1661,8 +1722,8 @@ typedef struct { /// CHAR16 ShiftedAltGrUnicode; /// - /// Modifier keys are defined to allow for special functionality that is not necessarily - /// accomplished by a printable character. Many of these modifier keys are flags to toggle + /// Modifier keys are defined to allow for special functionality that is not necessarily + /// accomplished by a printable character. Many of these modifier keys are flags to toggle /// certain state bits on and off inside of a keyboard driver. /// UINT16 Modifier; @@ -1670,7 +1731,7 @@ typedef struct { } EFI_KEY_DESCRIPTOR; /// -/// A key which is affected by all the standard shift modifiers. +/// A key which is affected by all the standard shift modifiers. /// Most keys would be expected to have this bit active. /// #define EFI_AFFECTED_BY_STANDARD_SHIFT 0x0001 @@ -1763,7 +1824,7 @@ typedef struct { /// typedef struct _EFI_IFR_ANIMATION { /// - /// Standard opcode header, where Header.OpCode is + /// Standard opcode header, where Header.OpCode is /// EFI_IFR_ANIMATION_OP. /// EFI_IFR_OP_HEADER Header; @@ -1774,7 +1835,7 @@ typedef struct _EFI_IFR_ANIMATION { } EFI_IFR_ANIMATION; /// -/// HII animation package header +/// HII animation package header. /// typedef struct _EFI_HII_ANIMATION_PACKAGE_HDR { /// @@ -1782,7 +1843,7 @@ typedef struct _EFI_HII_ANIMATION_PACKAGE_HDR { /// EFI_HII_PACKAGE_HEADER Header; /// - /// Offset, relative to this header, of the animation information. If + /// Offset, relative to this header, of the animation information. If /// this is zero, then there are no animation sequences in the package. /// UINT32 AnimationInfoOffset; @@ -1790,7 +1851,7 @@ typedef struct _EFI_HII_ANIMATION_PACKAGE_HDR { /// /// Animation information is encoded as a series of blocks, -/// with each block prefixed by a single byte header EFI_HII_ANIMATION_BLOCK +/// with each block prefixed by a single byte header EFI_HII_ANIMATION_BLOCK. /// typedef struct _EFI_HII_ANIMATION_BLOCK { UINT8 BlockType; @@ -1798,7 +1859,7 @@ typedef struct _EFI_HII_ANIMATION_BLOCK { } EFI_HII_ANIMATION_BLOCK; /// -/// Animation block types +/// Animation block types. /// #define EFI_HII_AIBT_END 0x00 #define EFI_HII_AIBT_OVERLAY_IMAGES 0x10 @@ -1821,11 +1882,11 @@ typedef struct _EFI_HII_ANIMATION_BLOCK { typedef struct _EFI_HII_AIBT_EXT1_BLOCK { /// - /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT1 + /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT1. /// EFI_HII_ANIMATION_BLOCK Header; /// - /// The block type + /// The block type. /// UINT8 BlockType2; /// @@ -1836,7 +1897,7 @@ typedef struct _EFI_HII_AIBT_EXT1_BLOCK { typedef struct _EFI_HII_AIBT_EXT2_BLOCK { /// - /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT2 + /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT2. /// EFI_HII_ANIMATION_BLOCK Header; /// @@ -1851,7 +1912,7 @@ typedef struct _EFI_HII_AIBT_EXT2_BLOCK { typedef struct _EFI_HII_AIBT_EXT4_BLOCK { /// - /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT4 + /// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT4. /// EFI_HII_ANIMATION_BLOCK Header; /// @@ -1866,23 +1927,23 @@ typedef struct _EFI_HII_AIBT_EXT4_BLOCK { typedef struct _EFI_HII_ANIMATION_CELL { /// - /// The X offset from the upper left hand corner of the logical + /// The X offset from the upper left hand corner of the logical /// window to position the indexed image. /// UINT16 OffsetX; /// - /// The Y offset from the upper left hand corner of the logical + /// The Y offset from the upper left hand corner of the logical /// window to position the indexed image. /// UINT16 OffsetY; /// - /// The image to display at the specified offset from the upper left + /// The image to display at the specified offset from the upper left /// hand corner of the logical window. /// EFI_IMAGE_ID ImageId; /// - /// The number of milliseconds to delay after displaying the indexed - /// image and before continuing on to the next linked image. If value + /// The number of milliseconds to delay after displaying the indexed + /// image and before continuing on to the next linked image. If value /// is zero, no delay. /// UINT16 Delay; @@ -1892,13 +1953,13 @@ typedef struct _EFI_HII_ANIMATION_CELL { /// An animation block to describe an animation sequence that does not cycle, and /// where one image is simply displayed over the previous image. /// -typedef struct _EFI_HII_AIBT_OVERLAY_IMAGES { +typedef struct _EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK { /// - /// This is image that is to be reference by the image protocols, if the - /// animation function is not supported or disabled. This image can - /// be one particular image from the animation sequence (if any one - /// of the animation frames has a complete image) or an alternate - /// image that can be displayed alone. If the value is zero, no image + /// This is image that is to be reference by the image protocols, if the + /// animation function is not supported or disabled. This image can + /// be one particular image from the animation sequence (if any one + /// of the animation frames has a complete image) or an alternate + /// image that can be displayed alone. If the value is zero, no image /// is displayed. /// EFI_IMAGE_ID DftImageId; @@ -1911,7 +1972,7 @@ typedef struct _EFI_HII_AIBT_OVERLAY_IMAGES { /// UINT16 Height; /// - /// The number of EFI_HII_ANIMATION_CELL contained in the + /// The number of EFI_HII_ANIMATION_CELL contained in the /// animation sequence. /// UINT16 CellCount; @@ -1923,16 +1984,16 @@ typedef struct _EFI_HII_AIBT_OVERLAY_IMAGES { /// /// An animation block to describe an animation sequence that does not cycle, -/// and where the logical window is cleared to the specified color before +/// and where the logical window is cleared to the specified color before /// the next image is displayed. /// typedef struct _EFI_HII_AIBT_CLEAR_IMAGES_BLOCK { /// - /// This is image that is to be reference by the image protocols, if the - /// animation function is not supported or disabled. This image can - /// be one particular image from the animation sequence (if any one - /// of the animation frames has a complete image) or an alternate - /// image that can be displayed alone. If the value is zero, no image + /// This is image that is to be reference by the image protocols, if the + /// animation function is not supported or disabled. This image can + /// be one particular image from the animation sequence (if any one + /// of the animation frames has a complete image) or an alternate + /// image that can be displayed alone. If the value is zero, no image /// is displayed. /// EFI_IMAGE_ID DftImageId; @@ -1945,12 +2006,12 @@ typedef struct _EFI_HII_AIBT_CLEAR_IMAGES_BLOCK { /// UINT16 Height; /// - /// The number of EFI_HII_ANIMATION_CELL contained in the + /// The number of EFI_HII_ANIMATION_CELL contained in the /// animation sequence. /// UINT16 CellCount; /// - /// The color to clear the logical window to before displaying the + /// The color to clear the logical window to before displaying the /// indexed image. /// EFI_HII_RGB_PIXEL BackgndColor; @@ -1962,16 +2023,16 @@ typedef struct _EFI_HII_AIBT_CLEAR_IMAGES_BLOCK { /// /// An animation block to describe an animation sequence that does not cycle, -/// and where the screen is restored to the original state before the next +/// and where the screen is restored to the original state before the next /// image is displayed. /// typedef struct _EFI_HII_AIBT_RESTORE_SCRN_BLOCK { /// - /// This is image that is to be reference by the image protocols, if the - /// animation function is not supported or disabled. This image can - /// be one particular image from the animation sequence (if any one - /// of the animation frames has a complete image) or an alternate - /// image that can be displayed alone. If the value is zero, no image + /// This is image that is to be reference by the image protocols, if the + /// animation function is not supported or disabled. This image can + /// be one particular image from the animation sequence (if any one + /// of the animation frames has a complete image) or an alternate + /// image that can be displayed alone. If the value is zero, no image /// is displayed. /// EFI_IMAGE_ID DftImageId; @@ -1984,7 +2045,7 @@ typedef struct _EFI_HII_AIBT_RESTORE_SCRN_BLOCK { /// UINT16 Height; /// - /// The number of EFI_HII_ANIMATION_CELL contained in the + /// The number of EFI_HII_ANIMATION_CELL contained in the /// animation sequence. /// UINT16 CellCount; @@ -2002,14 +2063,14 @@ typedef EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK EFI_HII_AIBT_OVERLAY_IMAGES_LOOP_BLOC /// /// An animation block to describe an animation sequence that continuously cycles, -/// and where the logical window is cleared to the specified color before +/// and where the logical window is cleared to the specified color before /// the next image is displayed. /// typedef EFI_HII_AIBT_CLEAR_IMAGES_BLOCK EFI_HII_AIBT_CLEAR_IMAGES_LOOP_BLOCK; /// /// An animation block to describe an animation sequence that continuously cycles, -/// and where the screen is restored to the original state before +/// and where the screen is restored to the original state before /// the next image is displayed. /// typedef EFI_HII_AIBT_RESTORE_SCRN_BLOCK EFI_HII_AIBT_RESTORE_SCRN_LOOP_BLOCK; @@ -2019,7 +2080,7 @@ typedef EFI_HII_AIBT_RESTORE_SCRN_BLOCK EFI_HII_AIBT_RESTORE_SCRN_LOOP_BLOCK; /// typedef struct _EFI_HII_AIBT_DUPLICATE_BLOCK { /// - /// The previously defined animation ID with the exact same + /// The previously defined animation ID with the exact same /// animation information. /// EFI_ANIMATION_ID AnimationId; @@ -2054,9 +2115,15 @@ typedef struct _EFI_HII_AIBT_SKIP2_BLOCK { /// token usages. /// /// -/// STRING_TOKEN is not defined in UEFI specification. But it is placed +/// STRING_TOKEN is not defined in UEFI specification. But it is placed /// here for the easy access by C files and VFR source files. /// #define STRING_TOKEN(t) t +/// +/// IMAGE_TOKEN is not defined in UEFI specification. But it is placed +/// here for the easy access by C files and VFR source files. +/// +#define IMAGE_TOKEN(t) t + #endif