-\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
#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
#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
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
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
// 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
\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