From: qhuang8 Date: Mon, 21 Sep 2009 14:09:05 +0000 (+0000) Subject: 1. Fix incorrect definition of UEFI_CONFIG_LANG and UEFI_CONFIG_LANG_2. They should... X-Git-Tag: edk2-stable201903~17036 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=66d550f9992138fa3a2fddf7f1996f039c24a499 1. Fix incorrect definition of UEFI_CONFIG_LANG and UEFI_CONFIG_LANG_2. They should be zero-terminated ascii string. 2. Rename EFI_IFR_EQ_ID_LIST to EFI_IFR_EQ_ID_VALUE_LIST 3. Add EFI_HII_PACKAGE_ANIMATIONS package type git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9283 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h index 391ea540cf..fa35d602a0 100644 --- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h +++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h @@ -75,6 +75,7 @@ typedef struct { #define EFI_HII_PACKAGE_SIMPLE_FONTS 0x07 #define EFI_HII_PACKAGE_DEVICE_PATH 0x08 #define EFI_HII_PACKAGE_KEYBOARD_LAYOUT 0x09 +#define EFI_HII_PACKAGE_ANIMATIONS 0x0A #define EFI_HII_PACKAGE_END 0xDF #define EFI_HII_PACKAGE_TYPE_SYSTEM_BEGIN 0xE0 #define EFI_HII_PACKAGE_TYPE_SYSTEM_END 0xFF @@ -281,8 +282,8 @@ typedef struct _EFI_HII_GUID_PACKAGE_HDR { // Section 27.3.6 // -#define UEFI_CONFIG_LANG L"x-UEFI" -#define UEFI_CONFIG_LANG2 L"x-i-UEFI" +#define UEFI_CONFIG_LANG "x-UEFI" +#define UEFI_CONFIG_LANG2 "x-i-UEFI" /// /// The fixed header consists of a standard record header and then the string identifiers @@ -1114,12 +1115,12 @@ typedef struct _EFI_IFR_EQ_ID_VAL { UINT16 Value; } EFI_IFR_EQ_ID_VAL; -typedef struct _EFI_IFR_EQ_ID_LIST { +typedef struct _EFI_IFR_EQ_ID_VAL_LIST { EFI_IFR_OP_HEADER Header; EFI_QUESTION_ID QuestionId; UINT16 ListLength; UINT16 ValueList[1]; -} EFI_IFR_EQ_ID_LIST; +} EFI_IFR_EQ_ID_VAL_LIST; typedef struct _EFI_IFR_UINT8 { EFI_IFR_OP_HEADER Header;