+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-Module Name:\r
-\r
- TianoHii.h\r
-\r
-Abstract:\r
-\r
- Tiano specific HII relative definition.\r
-\r
-Revision History\r
-\r
---*/\r
-\r
-#ifndef _TIANO_HII_H_\r
-#define _TIANO_HII_H_\r
-\r
-#include "EfiHii.h"\r
-\r
-#define NARROW_CHAR 0xFFF0\r
-#define WIDE_CHAR 0xFFF1\r
-#define NON_BREAKING_CHAR 0xFFF2\r
-\r
-#define GLYPH_WIDTH EFI_GLYPH_WIDTH\r
-#define GLYPH_HEIGHT EFI_GLYPH_HEIGHT\r
-\r
-//\r
-// State defined for password statemachine \r
-//\r
-#define BROWSER_STATE_VALIDATE_PASSWORD 0\r
-#define BROWSER_STATE_SET_PASSWORD 1\r
-\r
-//\r
-// References to string tokens must use this macro to enable scanning for\r
-// token usages.\r
-//\r
-#define STRING_TOKEN(t) t\r
-\r
-//\r
-// GUIDed opcodes defined for Tiano\r
-//\r
-#define EFI_IFR_TIANO_GUID \\r
- { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce} }\r
-//\r
-// ClassGuid for Front Page\r
-//\r
-#define EFI_HII_FRONT_PAGE_CLASS_GUID \\r
- { 0x94d411b7, 0x7669, 0x45c3, {0xba, 0x3b, 0xf3, 0xa5, 0x8a, 0x71, 0x56, 0x81} }\r
-\r
-#pragma pack(1)\r
-\r
-#define EFI_IFR_EXTEND_OP_LABEL 0x0\r
-#define EFI_IFR_EXTEND_OP_BANNER 0x1\r
-#define EFI_IFR_EXTEND_OP_TIMEOUT 0x2\r
-#define EFI_IFR_EXTEND_OP_CLASS 0x3\r
-#define EFI_IFR_EXTEND_OP_SUBCLASS 0x4\r
-\r
-typedef struct _EFI_IFR_GUID_LABEL {\r
- EFI_IFR_OP_HEADER Header;\r
- EFI_GUID Guid;\r
- UINT8 ExtendOpCode;\r
- UINT16 Number;\r
-} EFI_IFR_GUID_LABEL;\r
-\r
-#define EFI_IFR_BANNER_ALIGN_LEFT 0\r
-#define EFI_IFR_BANNER_ALIGN_CENTER 1\r
-#define EFI_IFR_BANNER_ALIGN_RIGHT 2\r
-\r
-typedef struct _EFI_IFR_GUID_BANNER {\r
- EFI_IFR_OP_HEADER Header;\r
- EFI_GUID Guid;\r
- UINT8 ExtendOpCode; // Extended opcode is EFI_IFR_EXTEND_OP_BANNER\r
- EFI_STRING_ID Title; // The string token for the banner title\r
- UINT16 LineNumber; // 1-based line number\r
- UINT8 Alignment; // left, center, or right-aligned\r
-} EFI_IFR_GUID_BANNER;\r
-\r
-typedef struct _EFI_IFR_GUID_TIMEOUT {\r
- EFI_IFR_OP_HEADER Header;\r
- EFI_GUID Guid;\r
- UINT8 ExtendOpCode;\r
- UINT16 TimeOut;\r
-} EFI_IFR_GUID_TIMEOUT;\r
-\r
-#define EFI_NON_DEVICE_CLASS 0x00\r
-#define EFI_DISK_DEVICE_CLASS 0x01\r
-#define EFI_VIDEO_DEVICE_CLASS 0x02\r
-#define EFI_NETWORK_DEVICE_CLASS 0x04\r
-#define EFI_INPUT_DEVICE_CLASS 0x08\r
-#define EFI_ON_BOARD_DEVICE_CLASS 0x10\r
-#define EFI_OTHER_DEVICE_CLASS 0x20\r
-\r
-typedef struct _EFI_IFR_GUID_CLASS {\r
- EFI_IFR_OP_HEADER Header;\r
- EFI_GUID Guid;\r
- UINT8 ExtendOpCode;\r
- UINT16 Class;\r
-} EFI_IFR_GUID_CLASS;\r
-\r
-#define EFI_SETUP_APPLICATION_SUBCLASS 0x00\r
-#define EFI_GENERAL_APPLICATION_SUBCLASS 0x01\r
-#define EFI_FRONT_PAGE_SUBCLASS 0x02\r
-#define EFI_SINGLE_USE_SUBCLASS 0x03\r
-\r
-typedef struct _EFI_IFR_GUID_SUBCLASS {\r
- EFI_IFR_OP_HEADER Header;\r
- EFI_GUID Guid;\r
- UINT8 ExtendOpCode;\r
- UINT16 SubClass;\r
-} EFI_IFR_GUID_SUBCLASS;\r
-\r
-#pragma pack()\r
-\r
-#endif\r