]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add in comment on the EFI_IFR_GUID_VAREQNAME.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Nov 2008 06:30:49 +0000 (06:30 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Nov 2008 06:30:49 +0000 (06:30 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6573 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Include/MdeModuleHii.h

index a463c195580471b0fdf4d533eaa9228d4c944224..e6bccdb7aa647f7720b9914f6f8d81a59387aa58 100644 (file)
@@ -127,9 +127,21 @@ typedef struct _EFI_IFR_GUID_SUBCLASS {
 typedef struct _EFI_IFR_GUID_OPTIONKEY {\r
   EFI_IFR_OP_HEADER   Header;\r
   EFI_GUID            Guid;\r
+  //\r
+  // EFI_IFR_EXTEND_OP_OPTIONKEY\r
+  //\r
   UINT8               ExtendOpCode;\r
+  //\r
+  // UEFI One Of Questiond ID.\r
+  //\r
   EFI_QUESTION_ID     QuestionId;\r
+  //\r
+  // The One Of Option Value.\r
+  //\r
   EFI_IFR_TYPE_VALUE  OptionValue;\r
+  //\r
+  // The Framework One Of Option Key Value.\r
+  //\r
   UINT16              KeyValue;\r
 } EFI_IFR_GUID_OPTIONKEY;\r
 \r
@@ -140,9 +152,20 @@ typedef struct _EFI_IFR_GUID_OPTIONKEY {
 typedef struct _EFI_IFR_GUID_VAREQNAME {\r
   EFI_IFR_OP_HEADER   Header;\r
   EFI_GUID            Guid;\r
+  //\r
+  // EFI_IFR_EXTEND_OP_VAREQNAME\r
+  //\r
   UINT8               ExtendOpCode;\r
+  //\r
+  // Question ID of the Numeric Opcode created.\r
+  //\r
   EFI_QUESTION_ID     QuestionId;\r
-  EFI_STRING_ID       NameId;\r
+  //\r
+  // For vareqval (0x100),\r
+  // NameId is 0x100. This value will converte to a Unicode String following this rule.\r
+  //            sprintf(StringBuffer, "%d", NameId)\r
+  // The the Unicode String will be used as a EFI Variable Name.\r
+  UINT16              NameId;\r
 } EFI_IFR_GUID_VAREQNAME;\r
 \r
 #pragma pack()\r