/** @file
EDKII extented HII IFR guid opcodes.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef __MDEMODULE_HII_H__
#define __MDEMODULE_HII_H__
///
/// State defined for password statemachine .
///
#define BROWSER_STATE_VALIDATE_PASSWORD 0
///
/// GUIDed opcodes defined for EDKII implementation.
///
#define EFI_IFR_TIANO_GUID \
{ 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce} }
#pragma pack(1)
///
/// EDKII implementation extension opcodes, new extension can be added here later.
///
///
/// Label opcode.
///
typedef struct _EFI_IFR_GUID_LABEL {
///
/// EFI_IFR_TIANO_GUID.
///
///
/// EFI_IFR_EXTEND_OP_LABEL.
///
///
/// Label Number.
///
#define EFI_IFR_BANNER_ALIGN_LEFT 0
///
/// Banner opcode.
///
typedef struct _EFI_IFR_GUID_BANNER {
///
/// EFI_IFR_TIANO_GUID.
///
///
/// EFI_IFR_EXTEND_OP_BANNER
///
///
/// Timeout opcode.
///
typedef struct _EFI_IFR_GUID_TIMEOUT {
///
/// EFI_IFR_TIANO_GUID.
///
///
/// EFI_IFR_EXTEND_OP_TIMEOUT.
///
///
/// Device Class opcode.
///
typedef struct _EFI_IFR_GUID_CLASS {
///
/// EFI_IFR_TIANO_GUID.
///
///
/// EFI_IFR_EXTEND_OP_CLASS.
///
///
/// SubClass opcode
///
typedef struct _EFI_IFR_GUID_SUBCLASS {
///
/// EFI_IFR_TIANO_GUID.
///
///
/// EFI_IFR_EXTEND_OP_SUBCLASS.
///
///
/// GUIDed opcodes support for framework vfr.
///
#define EFI_IFR_FRAMEWORK_GUID \
{ 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 } }
///
/// Two extended opcodes are added, and new extensions can be added here later.
/// One is for framework OneOf question Option Key value;
/// another is for framework vareqval.
///
///
/// Store the framework vfr option key value.
///
typedef struct _EFI_IFR_GUID_OPTIONKEY {
///
/// EFI_IFR_FRAMEWORK_GUID.
///
///
/// EFI_IFR_EXTEND_OP_OPTIONKEY.
///
///
/// OneOf Questiond ID binded by OneOf Option.
///
///
/// The OneOf Option Value.
///
///
/// The Framework OneOf Option Key Value.
///
///
/// Store the framework vfr vareqval name number.
///
typedef struct _EFI_IFR_GUID_VAREQNAME {
///
/// EFI_IFR_FRAMEWORK_GUID.
///
///
/// EFI_IFR_EXTEND_OP_VAREQNAME.
///
///
/// Question ID of the Numeric Opcode created.
///
///
/// For vareqval (0x100), NameId is 0x100.
/// This value will convert to a Unicode String following this rule;
/// sprintf(StringBuffer, "%d", NameId) .
/// The the Unicode String will be used as a EFI Variable Name.
///
#pragma pack()
extern EFI_GUID gEfiIfrTianoGuid;
extern EFI_GUID gEfiIfrFrameworkGuid;
#endif