]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
Move definition of EFI_PARTITION_ENTRY_STATUS from IndustryStandard in MDE Package...
[mirror_edk2.git] / MdePkg / Include / Uefi / UefiInternalFormRepresentation.h
index a0dc1667534ae7363cf2d959367a348b3addb7ac..894a02d0354f84c04ab731d79e92700caeb5f543 100644 (file)
@@ -1,4 +1,3 @@
-\r
 /** @file\r
   This file defines the encoding for the VFR (Visual Form Representation) language.\r
   IFR is primarily consumed by the EFI presentation engine, and produced by EFI\r
@@ -21,9 +20,9 @@
 #ifndef __UEFI_INTERNAL_FORMREPRESENTATION_H__\r
 #define __UEFI_INTERNAL_FORMREPRESENTATION_H__\r
 \r
-//\r
-// The following types are currently defined:\r
-//\r
+///\r
+/// The following types are currently defined:\r
+///\r
 typedef UINT32  RELOFST;\r
 \r
 typedef VOID*   EFI_HII_HANDLE;\r
@@ -41,9 +40,9 @@ typedef UINT32  EFI_HII_FONT_STYLE;
 #pragma pack(1)\r
 \r
 \r
-//\r
-// HII package list\r
-//\r
+///\r
+/// HII package list\r
+///\r
 typedef struct {\r
   EFI_GUID               PackageListGuid;\r
   UINT32                 PackageLength;\r
@@ -581,6 +580,9 @@ typedef union {
   EFI_STRING_ID   string;\r
 } EFI_IFR_TYPE_VALUE;\r
 \r
+//\r
+// IFR Opcodes\r
+//\r
 #define EFI_IFR_FORM_OP                0x01\r
 #define EFI_IFR_SUBTITLE_OP            0x02\r
 #define EFI_IFR_TEXT_OP                0x03\r
@@ -1391,22 +1393,24 @@ typedef struct {
   UINT16                  AffectedAttribute;\r
 } EFI_KEY_DESCRIPTOR;\r
 \r
-//\r
-// A key which is affected by all the standard shift modifiers.  \r
-// Most keys would be expected to have this bit active.\r
-//\r
+///\r
+/// A key which is affected by all the standard shift modifiers.  \r
+/// Most keys would be expected to have this bit active.\r
+///\r
 #define EFI_AFFECTED_BY_STANDARD_SHIFT       0x0001\r
-//\r
-// This key is affected by the caps lock so that if a keyboard driver\r
-// would need to disambiguate between a key which had a "1" defined\r
-// versus a "a" character.  Having this bit turned on would tell\r
-// the keyboard driver to use the appropriate shifted state or not.\r
-//\r
+\r
+///\r
+/// This key is affected by the caps lock so that if a keyboard driver\r
+/// would need to disambiguate between a key which had a "1" defined\r
+/// versus a "a" character.  Having this bit turned on would tell\r
+/// the keyboard driver to use the appropriate shifted state or not.\r
+///\r
 #define EFI_AFFECTED_BY_CAPS_LOCK            0x0002\r
-//\r
-// Similar to the case of CAPS lock, if this bit is active, the key\r
-// is affected by the num lock being turned on.\r
-//\r
+\r
+///\r
+/// Similar to the case of CAPS lock, if this bit is active, the key\r
+/// is affected by the num lock being turned on.\r
+///\r
 #define EFI_AFFECTED_BY_NUM_LOCK             0x0004\r
 \r
 typedef struct {\r
@@ -1423,17 +1427,6 @@ typedef struct {
   // EFI_HII_KEYBOARD_LAYOUT Layout[];\r
 } EFI_HII_KEYBOARD_PACKAGE_HDR;\r
 \r
-//typedef struct {\r
-//  CHAR16                  Language[];           // RFC4646 Language Code\r
-//  CHAR16                  Space;\r
-//  CHAR16                  DescriptionString[];\r
-//} EFI_DESCRIPTION_STRING;\r
-\r
-//typedef struct {\r
-//  UINT16                  DescriptionCount;\r
-//  EFI_DESCRIPTION_STRING  DescriptionString[];\r
-//} EFI_DESCRIPTION_STRING_BUNDLE;\r
-\r
 //\r
 // Modifier values\r
 //\r
@@ -1493,14 +1486,14 @@ typedef struct {
 \r
 \r
 \r
-//\r
-// References to string tokens must use this macro to enable scanning for\r
-// token usages.\r
-//\r
-//\r
-// STRING_TOKEN is not defined in UEFI specification. But it is placed \r
-// here for the easy access by C files and VFR source files.\r
-//\r
+///\r
+/// References to string tokens must use this macro to enable scanning for\r
+/// token usages.\r
+///\r
+///\r
+/// STRING_TOKEN is not defined in UEFI specification. But it is placed \r
+/// here for the easy access by C files and VFR source files.\r
+///\r
 #define STRING_TOKEN(t) t\r
 \r
 #endif\r