summaryrefslogtreecommitdiff
path: root/EDK/MiniSetup/Ezport
diff options
context:
space:
mode:
Diffstat (limited to 'EDK/MiniSetup/Ezport')
-rw-r--r--EDK/MiniSetup/Ezport/EzportBin.cif17
-rw-r--r--EDK/MiniSetup/Ezport/EzportBin.mak156
-rw-r--r--EDK/MiniSetup/Ezport/EzportBin.sdl162
-rw-r--r--EDK/MiniSetup/Ezport/HotclickBin.c58
-rw-r--r--EDK/MiniSetup/Ezport/HotclickBin.h49
-rw-r--r--EDK/MiniSetup/Ezport/HotkeyBin.c106
-rw-r--r--EDK/MiniSetup/Ezport/HotkeyBin.h54
-rw-r--r--EDK/MiniSetup/Ezport/StyleStr.unibin0 -> 8856 bytes
-rw-r--r--EDK/MiniSetup/Ezport/StyleTokens.c106
-rw-r--r--EDK/MiniSetup/Ezport/TseStyle.libbin0 -> 30762 bytes
-rw-r--r--EDK/MiniSetup/Ezport/TseStylex64.libbin0 -> 32750 bytes
11 files changed, 708 insertions, 0 deletions
diff --git a/EDK/MiniSetup/Ezport/EzportBin.cif b/EDK/MiniSetup/Ezport/EzportBin.cif
new file mode 100644
index 0000000..cc69ff7
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/EzportBin.cif
@@ -0,0 +1,17 @@
+<component>
+ name = "TSE Sytle Binary - Ezport"
+ category = ModulePart
+ LocalRoot = "EDK\MiniSetup\Ezport"
+ RefName = "EzportBin"
+[files]
+"EzportBin.sdl"
+"TseStyle.lib"
+"TseStylex64.lib"
+"StyleStr.uni"
+"StyleTokens.c"
+"HotkeyBin.h"
+"HotkeyBin.c"
+"EzportBin.mak"
+"HotclickBin.h"
+"HotclickBin.c"
+<endComponent>
diff --git a/EDK/MiniSetup/Ezport/EzportBin.mak b/EDK/MiniSetup/Ezport/EzportBin.mak
new file mode 100644
index 0000000..3f44030
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/EzportBin.mak
@@ -0,0 +1,156 @@
+##*****************************************************************##
+##*****************************************************************##
+##*****************************************************************##
+##** **##
+##** (C)Copyright 2011, American Megatrends, Inc. **##
+##** **##
+##** All Rights Reserved. **##
+##** **##
+##** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 **##
+##** **##
+##** Phone (770)-246-8600 **##
+##** **##
+##*****************************************************************##
+##*****************************************************************##
+##*****************************************************************##
+## $Archive: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Ezport/EzportBin.mak $
+##
+## $Author: Arunsb $
+##
+## $Revision: 7 $
+##
+## $Date: 10/18/12 5:49a $
+##
+##*****************************************************************##
+##*****************************************************************##
+## Revision History
+## ----------------
+## $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Ezport/EzportBin.mak $
+#
+# 7 10/18/12 5:49a Arunsb
+# Updated for 2.16.1235 QA submission
+##
+## 7 10/10/12 12:32p Arunsb
+## Synched the source for v2.16.1232, backup with Aptio
+#
+# 6 6/29/11 12:30p Rajashakerg
+# [TAG] EIP47086
+# [Category] New Feature
+# [Description] Right clicking from the Main page is not exiting from
+# BIOS setup.
+#
+# [Files] minisetup.h, Ezport\style.h,Ezport\EzportBin.sdl,
+# Ezport\EzportBin.mak, Ezport\ezport.c, Ezport\EzportBin.cif,
+# EzportPlus\style.h, EzportPlus\EzportPlusBin.sdl, EzportPlusBin.mak,
+# EzportPlus\EzportPlusBin.cif, EzportPlus\ezportplus.c, Legacy\style.h,
+# Legacy\EzportPlusBin.sdl, Legacy\LegacyBin.mak, Legacy\LegacyBin.cif,
+# Legacy\legacy.c, TseLiteBin.sdl, TseLite.cif, Memo.c, frame.c,
+# application.h, application.c, commonoem.h, CommonHelper.c
+#
+# 5 3/28/11 11:49p Madhans
+# [TAG] EIP54968
+# [Category] Improvement
+# [Description] To Support different style modules in TSE generically
+# [Files] Ezport module updated. EzportPlus and Legacy Styles Modules
+# added.
+#
+# 4 2/19/10 12:59p Madhans
+# Updated for TSE 2.01. Refer Changelog.log for File change history.
+##
+## 5 2/19/10 8:10a Mallikarjunanv
+## updated year in copyright message
+##
+## 4 2/12/10 7:18a Mallikarjunanv
+## added dependency to add BOARD Module path
+##
+## 3 12/02/09 9:25a Mallikarjunanv
+## Fixed ithe eip 30917 by Updated the mak file to include the TseOem.h
+## in HotkeyBin.c.
+##
+## 2 6/24/09 6:33p Madhans
+## Coding Standards
+#
+# 2 6/24/09 11:55a Blaines
+# Coding standard update
+#
+# 1 6/09/09 9:53a Madhans
+# TSE 2.00.1201
+##
+## 1 6/04/09 7:49p Madhans
+## AMI TSE Advanced.
+#
+# 1 4/28/09 11:15p Madhans
+# Tse 2.0 Code complete Checkin.
+##
+## 3 4/28/09 9:39p Madhans
+## Tse 2.0 Code complete Checkin.
+##
+## 2 4/24/09 9:35p Blaines
+##
+## 1 12/18/08 7:59p Madhans
+## Intial version of TSE Lite sources
+##
+##
+##*****************************************************************##
+##*****************************************************************##
+
+all : $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj \
+ $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj
+
+$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj: $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.c $(TSE_STYLE_DIR)\HotkeyBin.h HotKeyElinkList
+ if not exist $(BUILD_DIR)\$(TSE_STYLE_DIR) mkdir $(BUILD_DIR)\$(TSE_STYLE_DIR)
+!IF "$(TSE_BOARD_MODULE_SUPPORT)"=="1"
+ $(CC) $(CFLAGS) -I $(BUILD_DIR) -I $(TSE_BOARD_DIR) /DTSE_FOR_APTIO_4_50 /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.c
+!ELSE
+ $(CC) $(CFLAGS) -I $(BUILD_DIR) /DTSE_FOR_APTIO_4_50 /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.c
+!ENDIF
+
+$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj: $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotclickBin.c $(TSE_STYLE_DIR)\HotclickBin.h HotClickElinkList
+ if not exist $(BUILD_DIR)\$(TSE_STYLE_DIR) mkdir $(BUILD_DIR)\$(TSE_STYLE_DIR)
+!IF "$(TSE_BOARD_MODULE_SUPPORT)"=="1"
+ $(CC) $(CFLAGS) -I $(BUILD_DIR) -I $(TSE_BOARD_DIR) /DTSE_FOR_APTIO_4_50 /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotclickBin.c
+!ELSE
+ $(CC) $(CFLAGS) -I $(BUILD_DIR) /DTSE_FOR_APTIO_4_50 /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotclickBin.c
+!ENDIF
+
+HotKeyElinkList:
+ echo #define HOTKEY_LIST $(HOTKEY_LIST) > $(BUILD_DIR)\HotKeyElinks.h
+# cl $(CFLAGS) /DTSE_FOR_APTIO_4_50 -I $(BUILD_DIR) /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.c
+
+# MAK file for the eModule:EzportBin
+AMITSEBin: $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotkeyBin.obj
+
+HotClickElinkList:
+ echo #define HOTCLICK_LIST $(HOTCLICK_LIST) > $(BUILD_DIR)\HotClickElinks.h
+# cl $(CFLAGS) /DTSE_FOR_APTIO_4_50 -I $(BUILD_DIR) /Fo$(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj $(PROJECT_DIR)\$(TSE_STYLE_DIR)\HotclickBin.c
+
+# MAK file for the eModule:EzportBin
+AMITSEBin: $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj
+
+$(BUILD_DIR)\EzportBin.mak : $(TSE_STYLE_DIR)\$(@B).cif $(TSE_STYLE_DIR)\$(@B).mak $(BUILD_RULES)
+ $(CIF2MAK) $(TSE_STYLE_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)
+
+AMITSESDB : EzportSDB
+
+EzportSDB : $(BUILD_DIR)\EzportBin.mak
+ $(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
+ /f $(BUILD_DIR)\EzportBin.mak all\
+ "UNI_INCLUDE_PATH=$(TSEBIN_DIR) $(TSE_UNI_INCLUDE_PATH)"\
+ "STRING_CONSUMERS=$(TSE_STYLE_DIR)\StyleTokens.c"\
+ TYPE=SDB NAME=EzportBin
+
+
+
+##*****************************************************************##
+##*****************************************************************##
+##** **##
+##** (C)Copyright 2011, American Megatrends, Inc. **##
+##** **##
+##** All Rights Reserved. **##
+##** **##
+##** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 **##
+##** **##
+##** Phone (770)-246-8600 **##
+##** **##
+##*****************************************************************##
+##*****************************************************************##
diff --git a/EDK/MiniSetup/Ezport/EzportBin.sdl b/EDK/MiniSetup/Ezport/EzportBin.sdl
new file mode 100644
index 0000000..522b794
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/EzportBin.sdl
@@ -0,0 +1,162 @@
+TOKEN
+ Name = "TSE_STYLE_EZPORT_BIN_SUPPORT"
+ Value = "1"
+ Help = "Main switch to enable Ezport Style in TSE"
+ TokenType = Boolean
+ TargetEQU = Yes
+ TargetMAK = Yes
+ Master = Yes
+End
+
+TOKEN
+ Name = "STYLE_COLOR_GRAYOUT"
+ Value = "EFI_DARKGRAY"
+ Help = " Item grayout colour "
+ TokenType = Expression
+ TargetH = Yes
+ Range = "0x0-0x0f"
+End
+
+
+TOKEN
+ Name = "SETUP_STYLE_BIN_EZPORT"
+ Value = "1"
+ Help = "Condition to support Ezport Style Sources"
+ TokenType = Boolean
+ TargetH = Yes
+End
+
+TOKEN
+ Name = "TSE_PRN_SCRN_KEY_SCAN"
+ Value = "SCAN_F12"
+ Help = "Set to one of the defined constants from EFI_SIMPLE_TEXT_INPUT protocol. On pressing this key AMITSE_PRINT_SCREEN_PRESS_GUID event will be generated."
+ TokenType = Expression
+ TargetH = Yes
+End
+
+TOKEN
+ Name = "HOTCLICK_FULLSCREEN_SUPPORT"
+ Value = "1"
+ Help = "Set one to enable the hot click support for full screen. The x,y coordinates for corresponding hot click ELINKS are done for a sample case(style). If customer needs his own style or not needs full screen then values in the ELINKS should be customized based on thier needs."
+ TokenType = Boolean
+ TargetH = Yes
+End
+
+ELINK
+ Name = "{{SCAN_F4, 0},0, HandleSaveExitKey, 0 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "{{SCAN_F2, 0 },0,HandlePrevValuesKey, 1 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "{{SCAN_F3, 0 },0,HandleOptimalKey, 1 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "{{SCAN_F1, 0 },0,HandleHelpKey, 1 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "{{SCAN_ESC,0},0, HandleEscKey, 0 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "{{TSE_PRN_SCRN_KEY_SCAN,0},0, HandlePrnScrnKey, 0 },"
+ Parent = "HOTKEY_LIST"
+ InvokeOrder = AfterParent
+ Token = "TSE_PRN_SCRN_EVENT_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 1, 3, 1 + 64, 3 + 26, MainFrameHandlewithMouse, 0 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 100*31 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 67, 3, 67 + 32, 3 + 11, HelpFrameHandlewithMouse, 1 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 100*31 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 67, 16, 67 + 32, 16 + 13, NavFrameHandlewithMouse, 1 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 100*31 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 1, 3, 1 + 51, 3 + 18, MainFrameHandlewithMouse, 0 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 54, 3, 54 + 24, 3 + 8, HelpFrameHandlewithMouse, 1 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+ELINK
+ Name = "{ 54, 13, 54 + 24, 13 + 8, NavFrameHandlewithMouse, 1 },"
+ Parent = "HOTCLICK_LIST"
+ InvokeOrder = AfterParent
+ Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode"
+ Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1"
+End
+
+PATH
+ Name = "TSE_STYLE_DIR"
+End
+
+MODULE
+ Help = "Includes EzportBin.mak to Project"
+ File = "EzportBin.mak"
+End
+
+ELINK
+ Name = "$(TSE_STYLE_DIR)\TSEStyle$(ARCH).lib"
+ Parent = "MINISETUPLIB"
+ Priority = 30
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "-i $(TSE_STYLE_DIR)"
+ Parent = "TSE_UNI_INCLUDE_PATH"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "$(TSE_STYLE_DIR)\StyleTokens.c"
+ Parent = "TSE_STRING_CONSUMERS_LIST"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "$(BUILD_DIR)\EzportBin.sdb"
+ Parent = "TSE_SDBS"
+ InvokeOrder = AfterParent
+End
diff --git a/EDK/MiniSetup/Ezport/HotclickBin.c b/EDK/MiniSetup/Ezport/HotclickBin.c
new file mode 100644
index 0000000..0e4d27e
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/HotclickBin.c
@@ -0,0 +1,58 @@
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+#ifdef TSE_FOR_APTIO_4_50
+
+#include "Token.h"
+#include <Efi.h>
+#include <Protocol/SimpleTextIn.h>
+
+#else //#ifdef TSE_FOR_APTIO_4_50
+
+#include "minisetup.h"
+
+#endif //#ifdef TSE_FOR_APTIO_4_50
+
+#include "HotclickBin.h"
+#include "HotClickElinks.h"
+
+// Build time file generated from AMITSE_OEM_HEADER_LIST elink.
+#include "AmiTseOem.h"
+
+#ifdef TSE_FOR_APTIO_4_50
+#include "AMITSEStrTokens.h"
+#else
+#include STRING_DEFINES_FILE
+#endif
+
+HOTCLICK_TEMPLATE gHotClickInfo[] = { HOTCLICK_LIST 0};
+UINT32 gHotClickCount = sizeof(gHotClickInfo) / sizeof(HOTCLICK_TEMPLATE);
+
+
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
diff --git a/EDK/MiniSetup/Ezport/HotclickBin.h b/EDK/MiniSetup/Ezport/HotclickBin.h
new file mode 100644
index 0000000..5ff05d6
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/HotclickBin.h
@@ -0,0 +1,49 @@
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+#ifndef __HOTCLICK_BIN_H__
+#define __HOTCLICK_BIN_H__
+
+typedef VOID (*HOTCLICK_CALLBACK) ( VOID *container, VOID *object, VOID *cookie );
+
+typedef struct _HOTCLICK_TEMPLATE
+{
+ UINT32 Xo, Yo, Xn, Yn;
+ HOTCLICK_CALLBACK Callback;
+ UINT32 BasePage;
+}
+HOTCLICK_TEMPLATE;
+
+extern VOID MainFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie );
+extern VOID HelpFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie );
+extern VOID NavFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie );
+
+
+#endif //__HOTKEY_BIN_H__
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
diff --git a/EDK/MiniSetup/Ezport/HotkeyBin.c b/EDK/MiniSetup/Ezport/HotkeyBin.c
new file mode 100644
index 0000000..0c239f9
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/HotkeyBin.c
@@ -0,0 +1,106 @@
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+#ifdef TSE_FOR_APTIO_4_50
+
+#include "Token.h"
+#include <Efi.h>
+#include <Protocol/SimpleTextIn.h>
+
+#else //#ifdef TSE_FOR_APTIO_4_50
+
+#include "minisetup.h"
+
+#endif //#ifdef TSE_FOR_APTIO_4_50
+
+#include "HotkeyBin.h"
+#include "HotKeyElinks.h"
+
+// Build time file generated from AMITSE_OEM_HEADER_LIST elink.
+#include "AmiTseOem.h"
+
+#ifdef TSE_FOR_APTIO_4_50
+#include "AMITSEStrTokens.h"
+#else
+#include STRING_DEFINES_FILE
+#endif
+
+#ifdef TSE_FOR_APTIO_4_50
+#ifndef SCAN_F1
+#define SCAN_F1 EFI_SCAN_F1
+#endif
+#ifndef SCAN_F2
+#define SCAN_F2 EFI_SCAN_F2
+#endif
+#ifndef SCAN_F3
+#define SCAN_F3 EFI_SCAN_F3
+#endif
+#ifndef SCAN_F4
+#define SCAN_F4 EFI_SCAN_F4
+#endif
+#ifndef SCAN_F5
+#define SCAN_F5 EFI_SCAN_F5
+#endif
+#ifndef SCAN_F6
+#define SCAN_F6 EFI_SCAN_F6
+#endif
+#ifndef SCAN_F7
+#define SCAN_F7 EFI_SCAN_F7
+#endif
+#ifndef SCAN_F8
+#define SCAN_F8 EFI_SCAN_F8
+#endif
+#ifndef SCAN_F9
+#define SCAN_F9 EFI_SCAN_F9
+#endif
+#ifndef SCAN_F10
+#define SCAN_F10 EFI_SCAN_F10
+#endif
+#ifndef SCAN_F11
+#define SCAN_F11 EFI_SCAN_F11
+#endif
+#ifndef SCAN_F12
+#define SCAN_F12 EFI_SCAN_F12
+#endif
+#ifndef SCAN_ESC
+#define SCAN_ESC EFI_SCAN_ESC
+#endif
+#endif
+
+HOTKEY_TEMPLATE gHotKeyInfo[] = { HOTKEY_LIST };
+UINT32 gHotKeyCount = sizeof(gHotKeyInfo) / sizeof(HOTKEY_TEMPLATE);
+
+#if MINISETUP_MOUSE_SUPPORT
+UINT16 gStrNavToken = STRING_TOKEN(STR_NAV_STRINGS_3);
+#else
+UINT16 gStrNavToken = STRING_TOKEN(STR_NAV_STRINGS_2);
+#endif
+
+
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
diff --git a/EDK/MiniSetup/Ezport/HotkeyBin.h b/EDK/MiniSetup/Ezport/HotkeyBin.h
new file mode 100644
index 0000000..a99433a
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/HotkeyBin.h
@@ -0,0 +1,54 @@
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2013, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+#ifndef __HOTKEY_BIN_H__
+#define __HOTKEY_BIN_H__
+
+typedef VOID (*HOTKEY_CALLBACK) ( VOID *container, VOID *object, VOID *cookie );
+
+typedef struct _HOTKEY_TEMPLATE
+{
+ EFI_INPUT_KEY Key;
+ UINT32 KeySftSte;
+ HOTKEY_CALLBACK Callback;
+ UINT32 BasePage;
+}
+HOTKEY_TEMPLATE;
+
+extern VOID HandleEscKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandleHelpKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandlePrevValuesKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandleFailsafeKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandleOptimalKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandleSaveExitKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID HandlePrnScrnKey( VOID *app, VOID *hotkey, VOID *cookie );
+extern VOID PrntScrnKeyNotification(VOID *app, VOID *hotkey, VOID *cookie );
+
+#endif //__HOTKEY_BIN_H__
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2013, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
diff --git a/EDK/MiniSetup/Ezport/StyleStr.uni b/EDK/MiniSetup/Ezport/StyleStr.uni
new file mode 100644
index 0000000..a3a8772
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/StyleStr.uni
Binary files differ
diff --git a/EDK/MiniSetup/Ezport/StyleTokens.c b/EDK/MiniSetup/Ezport/StyleTokens.c
new file mode 100644
index 0000000..ad302d3
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/StyleTokens.c
@@ -0,0 +1,106 @@
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+// $Archive: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Ezport/StyleTokens.c $
+//
+// $Author: Arunsb $
+//
+// $Revision: 3 $
+//
+// $Date: 10/18/12 5:49a $
+//
+//*****************************************************************//
+//*****************************************************************//
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Ezport/StyleTokens.c $
+//
+// 3 10/18/12 5:49a Arunsb
+// Updated for 2.16.1235 QA submission
+//
+// 6 10/10/12 12:32p Arunsb
+// Synched the source for v2.16.1232, backup with Aptio
+//
+// 2 2/19/10 12:59p Madhans
+// Updated for TSE 2.01. Refer Changelog.log for File change history.
+//
+// 4 2/19/10 8:10a Mallikarjunanv
+// updated year in copyright message
+//
+// 3 2/04/10 11:08p Madhans
+// Navigation Help for Mouse added.
+//
+// 2 6/24/09 6:33p Madhans
+// Coding Standards
+//
+// 1 6/09/09 9:53a Madhans
+// TSE 2.00.1201
+//
+// 1 6/04/09 7:49p Madhans
+// AMI TSE Advanced.
+//
+// 1 5/06/09 8:14p Madhans
+// Tse 2.0 Bin Module Initial Checkin.
+//
+// 1 5/06/09 8:10p Madhans
+// Tse 2.0 Binary Modules
+//
+// 1 4/28/09 9:39p Madhans
+// Tse 2.0 Code complete Checkin.
+//
+//
+//*****************************************************************//
+//*****************************************************************//
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: ezporttokens.c
+//
+// Description:
+// This file does not add any code. It has, all the string tokens that
+// are used by Minisetup, to fake the usage to strgather.exe. Add to
+// this list, the new string tokens that are defined in
+// AmiTSEStrstr.uni and to be used by Minisetup
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+
+//Following code is to force strgatherer to include these strings
+#if 0
+STRING_TOKEN(STR_NAV_STRINGS_0)
+STRING_TOKEN(STR_NAV_STRINGS_1)
+STRING_TOKEN(STR_NAV_STRINGS_2)
+STRING_TOKEN(STR_NAV_STRINGS_3)
+STRING_TOKEN(STR_EXIT_HELP)
+STRING_TOKEN(STR_RESET_HELP)
+#endif
+
+
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
+//** **//
+//** (C)Copyright 2010, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **//
+//** **//
+//** Phone (770)-246-8600 **//
+//** **//
+//*****************************************************************//
+//*****************************************************************//
+//*****************************************************************//
diff --git a/EDK/MiniSetup/Ezport/TseStyle.lib b/EDK/MiniSetup/Ezport/TseStyle.lib
new file mode 100644
index 0000000..0fb4a55
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/TseStyle.lib
Binary files differ
diff --git a/EDK/MiniSetup/Ezport/TseStylex64.lib b/EDK/MiniSetup/Ezport/TseStylex64.lib
new file mode 100644
index 0000000..704882f
--- /dev/null
+++ b/EDK/MiniSetup/Ezport/TseStylex64.lib
Binary files differ