1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
1.3) Add Smbios 2.5, 2.6 supports.
Incompatible changes hilighted:
1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
2) EFI_IP4_IPCONFIG_DATA changed.
2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4623 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:10:05 +01:00
|
|
|
/*++
|
|
|
|
|
|
|
|
Copyright (c) 2007, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
TianoHii.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Tiano specific HII relative definition.
|
|
|
|
|
|
|
|
Revision History
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _TIANO_HII_H_
|
|
|
|
#define _TIANO_HII_H_
|
|
|
|
|
|
|
|
#include "EfiHii.h"
|
|
|
|
|
|
|
|
#define NARROW_CHAR 0xFFF0
|
|
|
|
#define WIDE_CHAR 0xFFF1
|
|
|
|
#define NON_BREAKING_CHAR 0xFFF2
|
|
|
|
|
|
|
|
#define GLYPH_WIDTH EFI_GLYPH_WIDTH
|
|
|
|
#define GLYPH_HEIGHT EFI_GLYPH_HEIGHT
|
|
|
|
|
|
|
|
//
|
|
|
|
// State defined for password statemachine
|
|
|
|
//
|
|
|
|
#define BROWSER_STATE_VALIDATE_PASSWORD 0
|
|
|
|
#define BROWSER_STATE_SET_PASSWORD 1
|
|
|
|
|
|
|
|
//
|
|
|
|
// References to string tokens must use this macro to enable scanning for
|
|
|
|
// token usages.
|
|
|
|
//
|
|
|
|
#define STRING_TOKEN(t) t
|
|
|
|
|
|
|
|
//
|
|
|
|
// GUIDed opcodes defined for Tiano
|
|
|
|
//
|
|
|
|
#define EFI_IFR_TIANO_GUID \
|
2008-03-28 13:00:46 +01:00
|
|
|
{ 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce} }
|
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
1.3) Add Smbios 2.5, 2.6 supports.
Incompatible changes hilighted:
1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
2) EFI_IP4_IPCONFIG_DATA changed.
2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4623 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:10:05 +01:00
|
|
|
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
|
|
#define EFI_IFR_EXTEND_OP_LABEL 0x0
|
|
|
|
#define EFI_IFR_EXTEND_OP_BANNER 0x1
|
|
|
|
#define EFI_IFR_EXTEND_OP_TIMEOUT 0x2
|
|
|
|
#define EFI_IFR_EXTEND_OP_CLASS 0x3
|
|
|
|
#define EFI_IFR_EXTEND_OP_SUBCLASS 0x4
|
|
|
|
|
|
|
|
typedef struct _EFI_IFR_GUID_LABEL {
|
|
|
|
EFI_IFR_OP_HEADER Header;
|
|
|
|
EFI_GUID Guid;
|
|
|
|
UINT8 ExtendOpCode;
|
|
|
|
UINT16 Number;
|
|
|
|
} EFI_IFR_GUID_LABEL;
|
|
|
|
|
|
|
|
#define EFI_IFR_BANNER_ALIGN_LEFT 0
|
|
|
|
#define EFI_IFR_BANNER_ALIGN_CENTER 1
|
|
|
|
#define EFI_IFR_BANNER_ALIGN_RIGHT 2
|
|
|
|
|
|
|
|
typedef struct _EFI_IFR_GUID_BANNER {
|
|
|
|
EFI_IFR_OP_HEADER Header;
|
|
|
|
EFI_GUID Guid;
|
|
|
|
UINT8 ExtendOpCode; // Extended opcode is EFI_IFR_EXTEND_OP_BANNER
|
|
|
|
EFI_STRING_ID Title; // The string token for the banner title
|
|
|
|
UINT16 LineNumber; // 1-based line number
|
|
|
|
UINT8 Alignment; // left, center, or right-aligned
|
|
|
|
} EFI_IFR_GUID_BANNER;
|
|
|
|
|
|
|
|
typedef struct _EFI_IFR_GUID_TIMEOUT {
|
|
|
|
EFI_IFR_OP_HEADER Header;
|
|
|
|
EFI_GUID Guid;
|
|
|
|
UINT8 ExtendOpCode;
|
|
|
|
UINT16 TimeOut;
|
|
|
|
} EFI_IFR_GUID_TIMEOUT;
|
|
|
|
|
|
|
|
#define EFI_NON_DEVICE_CLASS 0x00
|
|
|
|
#define EFI_DISK_DEVICE_CLASS 0x01
|
|
|
|
#define EFI_VIDEO_DEVICE_CLASS 0x02
|
|
|
|
#define EFI_NETWORK_DEVICE_CLASS 0x04
|
|
|
|
#define EFI_INPUT_DEVICE_CLASS 0x08
|
|
|
|
#define EFI_ON_BOARD_DEVICE_CLASS 0x10
|
|
|
|
#define EFI_OTHER_DEVICE_CLASS 0x20
|
|
|
|
|
|
|
|
typedef struct _EFI_IFR_GUID_CLASS {
|
|
|
|
EFI_IFR_OP_HEADER Header;
|
|
|
|
EFI_GUID Guid;
|
|
|
|
UINT8 ExtendOpCode;
|
|
|
|
UINT16 Class;
|
|
|
|
} EFI_IFR_GUID_CLASS;
|
|
|
|
|
|
|
|
#define EFI_SETUP_APPLICATION_SUBCLASS 0x00
|
|
|
|
#define EFI_GENERAL_APPLICATION_SUBCLASS 0x01
|
|
|
|
#define EFI_FRONT_PAGE_SUBCLASS 0x02
|
|
|
|
#define EFI_SINGLE_USE_SUBCLASS 0x03
|
|
|
|
|
|
|
|
typedef struct _EFI_IFR_GUID_SUBCLASS {
|
|
|
|
EFI_IFR_OP_HEADER Header;
|
|
|
|
EFI_GUID Guid;
|
|
|
|
UINT8 ExtendOpCode;
|
|
|
|
UINT16 SubClass;
|
|
|
|
} EFI_IFR_GUID_SUBCLASS;
|
|
|
|
|
|
|
|
#pragma pack()
|
|
|
|
|
|
|
|
#endif
|