summaryrefslogtreecommitdiff
path: root/EDK/MiniSetup/uefi2.1/UefiTianoHii.h
diff options
context:
space:
mode:
Diffstat (limited to 'EDK/MiniSetup/uefi2.1/UefiTianoHii.h')
-rw-r--r--EDK/MiniSetup/uefi2.1/UefiTianoHii.h241
1 files changed, 241 insertions, 0 deletions
diff --git a/EDK/MiniSetup/uefi2.1/UefiTianoHii.h b/EDK/MiniSetup/uefi2.1/UefiTianoHii.h
new file mode 100644
index 0000000..4978f3f
--- /dev/null
+++ b/EDK/MiniSetup/uefi2.1/UefiTianoHii.h
@@ -0,0 +1,241 @@
+//**********************************************************************
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2010, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+//**********************************************************************
+// $Archive: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/Uefi2.1/UefiTianoHii.h $
+//
+// $Author: Arunsb $
+//
+// $Revision: 3 $
+//
+// $Date: 10/18/12 6:04a $
+//
+//*****************************************************************//
+//*****************************************************************//
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/Uefi2.1/UefiTianoHii.h $
+//
+// 3 10/18/12 6:04a Arunsb
+// Updated for 2.16.1235 QA submission
+//
+// 4 10/10/12 12:41p Arunsb
+// Synched the source for v2.16.1232, backup with Aptio
+//
+// 2 4/16/10 5:13p Madhans
+// Changes for Tse 2.02. Please see Changelog.log for more details.
+//
+// 2 3/11/10 5:44p Madhans
+// Coding Standards Update
+//
+//*****************************************************************//
+//<AMI_FHDR_START>
+//
+// Name: UefiTianoHii.h
+//
+// Description:
+//
+//<AMI_FHDR_END>
+//****************************************************************//
+
+
+//----------------------------------------------------------------------------
+#ifndef _TIANO_HII_H_
+#define _TIANO_HII_H_
+
+#include "TseUefiHii.h"
+
+#define NARROW_CHAR 0xFFF0
+#define WIDE_CHAR 0xFFF1
+#define NON_BREAKING_CHAR 0xFFF2
+
+//
+// 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 \
+ { 0xf0b1735, 0x87a0, 0x4193, 0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce }
+
+//----------------------------------------------------------------------------
+
+
+#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
+
+//----------------------------------------------------------------------------
+
+//<AMI_SHDR_START>
+//----------------------------------------------------------------------------
+// Name: EFI_IFR_GUID_LABEL
+//
+// Description:
+//
+// Fields: Name Type Description
+//----------------------------------------------------------------------------
+// Header EFI_IFR_OP_HEADER
+// Guid EFI_GUID
+// ExtendOpCode UINT8
+// Number UINT16
+//----------------------------------------------------------------------------
+//<AMI_SHDR_END>
+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
+
+//----------------------------------------------------------------------------
+
+//<AMI_SHDR_START>
+//----------------------------------------------------------------------------
+// Name: EFI_IFR_GUID_BANNER
+//
+// Description:
+//
+// Fields: Name Type Description
+//----------------------------------------------------------------------------
+// Header EFI_IFR_OP_HEADER
+// Guid EFI_GUID
+// ExtendOpCode UINT8
+// Title EFI_STRING_ID
+// LineNumber UINT16
+// Alignment UINT8
+//----------------------------------------------------------------------------
+//<AMI_SHDR_END>
+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;
+
+
+//<AMI_SHDR_START>
+//----------------------------------------------------------------------------
+// Name: EFI_IFR_GUID_TIMEOUT
+//
+// Description:
+//
+// Fields: Name Type Description
+//----------------------------------------------------------------------------
+// Header EFI_IFR_OP_HEADER
+// Guid EFI_GUID
+// ExtendOpCode UINT8
+// TimeOut UINT16
+//----------------------------------------------------------------------------
+//<AMI_SHDR_END>
+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
+
+//----------------------------------------------------------------------------
+
+//<AMI_SHDR_START>
+//----------------------------------------------------------------------------
+// Name: EFI_IFR_GUID_CLASS
+//
+// Description:
+//
+// Fields: Name Type Description
+//----------------------------------------------------------------------------
+// Header EFI_IFR_OP_HEADER
+// Guid EFI_GUID
+// ExtendOpCode UINT8
+// Class UINT16
+//----------------------------------------------------------------------------
+//<AMI_SHDR_END>
+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
+
+//----------------------------------------------------------------------------
+
+
+//<AMI_SHDR_START>
+//----------------------------------------------------------------------------
+// Name: EFI_IFR_GUID_SUBCLASS
+//
+// Description:
+//
+// Fields: Name Type Description
+//----------------------------------------------------------------------------
+// Header EFI_IFR_OP_HEADER
+// Guid EFI_GUID
+// ExtendOpCode UINT8
+// SubClass UINT16
+//----------------------------------------------------------------------------
+//<AMI_SHDR_END>
+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