diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /EDK/MiniSetup/EzportPlus | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'EDK/MiniSetup/EzportPlus')
-rw-r--r-- | EDK/MiniSetup/EzportPlus/EzportPlusBin.cif | 17 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/EzportPlusBin.mak | 155 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/EzportPlusBin.sdl | 185 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/HotclickBin.c | 58 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/HotclickBin.h | 49 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/HotkeyBin.c | 106 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/HotkeyBin.h | 54 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/StyleStr.uni | bin | 0 -> 11614 bytes | |||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/StyleTokens.c | 137 | ||||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/TseStyleEzportPlus.lib | bin | 0 -> 31426 bytes | |||
-rw-r--r-- | EDK/MiniSetup/EzportPlus/TseStyleEzportPlusx64.lib | bin | 0 -> 33196 bytes |
11 files changed, 761 insertions, 0 deletions
diff --git a/EDK/MiniSetup/EzportPlus/EzportPlusBin.cif b/EDK/MiniSetup/EzportPlus/EzportPlusBin.cif new file mode 100644 index 0000000..23a92d2 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/EzportPlusBin.cif @@ -0,0 +1,17 @@ +<component> + name = "TSE Sytle Binary - EzportPlus" + category = ModulePart + LocalRoot = "EDK\MiniSetup\EzportPlus" + RefName = "EzportPlusBin" +[files] +"EzportPlusBin.sdl" +"TseStyleEzportPlus.lib" +"TseStyleEzportPlusx64.lib" +"StyleStr.uni" +"StyleTokens.c" +"HotkeyBin.h" +"HotkeyBin.c" +"EzportPlusBin.mak" +"HotclickBin.h" +"HotclickBin.c" +<endComponent> diff --git a/EDK/MiniSetup/EzportPlus/EzportPlusBin.mak b/EDK/MiniSetup/EzportPlus/EzportPlusBin.mak new file mode 100644 index 0000000..89b2e40 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/EzportPlusBin.mak @@ -0,0 +1,155 @@ +##*****************************************************************## +##*****************************************************************## +##*****************************************************************## +##** **## +##** (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/EzportPlus/EzportPlusBin.mak $ +## +## $Author: Arunsb $ +## +## $Revision: 3 $ +## +## $Date: 10/18/12 5:51a $ +## +##*****************************************************************## +##*****************************************************************## +## Revision History +## ---------------- +## $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/EzportPlus/EzportPlusBin.mak $ +# +# 3 10/18/12 5:51a Arunsb +# Updated for 2.16.1235 QA submission +## +## 3 10/10/12 12:33p Arunsb +## Synched the source for v2.16.1232, backup with Aptio +# +# 2 6/29/11 12:39p 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 +# +# 1 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:EzportPlusBin +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:EzportPlusBin +AMITSEBin: $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj + +$(BUILD_DIR)\EzportPlusBin.mak : $(TSE_STYLE_DIR)\$(@B).cif $(TSE_STYLE_DIR)\$(@B).mak $(BUILD_RULES) + $(CIF2MAK) $(TSE_STYLE_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS) + +AMITSESDB : EzportPlusSDB + +EzportPlusSDB : $(BUILD_DIR)\EzportPlusBin.mak + $(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\ + /f $(BUILD_DIR)\EzportPlusBin.mak all\ + "UNI_INCLUDE_PATH=$(TSEBIN_DIR) $(TSE_UNI_INCLUDE_PATH)"\ + "STRING_CONSUMERS=$(TSE_STYLE_DIR)\StyleTokens.c"\ + TYPE=SDB NAME=EzportPlusBin + +##*****************************************************************## +##*****************************************************************## +##** **## +##** (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/EzportPlus/EzportPlusBin.sdl b/EDK/MiniSetup/EzportPlus/EzportPlusBin.sdl new file mode 100644 index 0000000..fdf42b1 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/EzportPlusBin.sdl @@ -0,0 +1,185 @@ +TOKEN + Name = "TSE_STYLE_EZPORTPLUS_BIN_SUPPORT" + Value = "0" + Help = "Main switch to enable EzportPlus 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 = "FIRST_PAGE_ID_INDEX" + Value = "1" + Help = "EIP25281.style" + TokenType = Expression + TargetH = Yes +End + +TOKEN + Name = "SETUP_STYLE_BIN_EZPORTPLUS" + Value = "1" + Help = "Condition to support EzportPlus 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 = "TSE_ANSI_ESC_CODE_SUPPORT" + Value = "1" + Help = "Tse advanced Esc colour support" + TokenType = Integer + 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, EzportPlusHandleSaveExitKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +TOKEN + Name = "SETUP_UPDATE_BOOT_ORDER_CURSOR" + Value = "1" + Help = "When the boot order is changed, the cursor moves with the selection. Else, the cursor remains in the same location as the current question." + TokenType = Boolean + TargetH = Yes +End + +ELINK + Name = "{{SCAN_F2, 0 },0,EzportPlusHandlePrevValuesKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_F3, 0 },0,EzportPlusHandleOptimalKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_F1, 0 },0,EzportPlusHandleHelpKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_ESC,0},0, EzportPlusHandleEscKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{TSE_PRN_SCRN_KEY_SCAN,0},0, EzportPlusHandlePrnScrnKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent + Token = "TSE_PRN_SCRN_EVENT_SUPPORT" "=" "1" +End + +ELINK + Name = "{ 1, 3, 1 + 64, 3+25, EzportPlusMainFrameHandlewithMouse, 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, 5, 67 + 32, 5 + 23, EzportPlusHelpFrameHandlewithMouse, 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 = "{ 0, 29, 0 + 100, 29 + 2, EzportPlusNavFrameHandlewithMouse, 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 = "{ 0, 0, 0, 0, EzportPlusMainFrameHandlewithMouse, 0 }," + Parent = "HOTCLICK_LIST" + InvokeOrder = AfterParent + Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode. Not supported customization needed" + Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1" +End + +ELINK + Name = "{ 0, 0, 0, 0, EzportPlusHelpFrameHandlewithMouse, 1 }," + Parent = "HOTCLICK_LIST" + InvokeOrder = AfterParent + Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode. Not supported customization needed" + Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1" +End + +ELINK + Name = "{ 0, 0, 0, 0, EzportPlusNavFrameHandlewithMouse, 1 }," + Parent = "HOTCLICK_LIST" + InvokeOrder = AfterParent + Help = "Dont change the HOTCLICK_LIST order, for 80*25 mode. Not supported customization needed" + Token = "HOTCLICK_FULLSCREEN_SUPPORT" "=" "1" +End + +PATH + Name = "TSE_STYLE_DIR" +End + +MODULE + Help = "Includes EzportPlusBin.mak to Project" + File = "EzportPlusBin.mak" +End + +ELINK + Name = "$(TSE_STYLE_DIR)\TSEStyleEzportPlus$(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)\EzportPlusBin.sdb" + Parent = "TSE_SDBS" + InvokeOrder = AfterParent +End diff --git a/EDK/MiniSetup/EzportPlus/HotclickBin.c b/EDK/MiniSetup/EzportPlus/HotclickBin.c new file mode 100644 index 0000000..cac75e1 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/HotclickBin.c @@ -0,0 +1,58 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2011, 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 2011, American Megatrends, Inc. **// +//** **// +//** All Rights Reserved. **// +//** **// +//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **// +//** **// +//** Phone (770)-246-8600 **// +//** **// +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// diff --git a/EDK/MiniSetup/EzportPlus/HotclickBin.h b/EDK/MiniSetup/EzportPlus/HotclickBin.h new file mode 100644 index 0000000..ee2dcd8 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/HotclickBin.h @@ -0,0 +1,49 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2011, 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 EzportPlusMainFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie ); +extern VOID EzportPlusHelpFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie ); +extern VOID EzportPlusNavFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie ); + + +#endif //__HOTKEY_BIN_H__ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2011, American Megatrends, Inc. **// +//** **// +//** All Rights Reserved. **// +//** **// +//** 5555 Oakbrook Pkwy, Norcross, Georgia 30093 **// +//** **// +//** Phone (770)-246-8600 **// +//** **// +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// diff --git a/EDK/MiniSetup/EzportPlus/HotkeyBin.c b/EDK/MiniSetup/EzportPlus/HotkeyBin.c new file mode 100644 index 0000000..0c239f9 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/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/EzportPlus/HotkeyBin.h b/EDK/MiniSetup/EzportPlus/HotkeyBin.h new file mode 100644 index 0000000..838ed05 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/HotkeyBin.h @@ -0,0 +1,54 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2010, 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 EzportPlusHandleEscKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandleHelpKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandlePrevValuesKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandleFailsafeKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandleOptimalKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandleSaveExitKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID EzportPlusHandlePrnScrnKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID PrntScrnKeyNotification(VOID *app, VOID *hotkey, VOID *cookie );//EIP-123311 + +#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/EzportPlus/StyleStr.uni b/EDK/MiniSetup/EzportPlus/StyleStr.uni Binary files differnew file mode 100644 index 0000000..2b00331 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/StyleStr.uni diff --git a/EDK/MiniSetup/EzportPlus/StyleTokens.c b/EDK/MiniSetup/EzportPlus/StyleTokens.c new file mode 100644 index 0000000..54f06c5 --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/StyleTokens.c @@ -0,0 +1,137 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (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/EzportPlus/StyleTokens.c $ +// +// $Author: Arunsb $ +// +// $Revision: 4 $ +// +// $Date: 10/18/12 5:50a $ +// +//*****************************************************************// +//*****************************************************************// +// Revision History +// ---------------- +// $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/EzportPlus/StyleTokens.c $ +// +// 4 10/18/12 5:50a Arunsb +// Updated for 2.16.1235 QA submission +// +// 3 10/10/12 12:33p Arunsb +// Synched the source for v2.16.1232, backup with Aptio +// +// 3 12/13/11 6:13p Blaines +// Remove error message when ESC key pressed. +// Display message when password is cleared. +// +// 2 11/23/11 1:25p Blaines +// [TAG] - EIP 74899 +// [Category]- Function Request +// [Synopsis]- Change input password box in same window +// [Description] - Display Hdd and System password prompts for old, new, +// and confirm text in the same window, +// +// [Files] +// StyleTokens.c, StyleStr.uni, EzportPlus.sdl, ezportplus.c +// +// 1 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. +// +// 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: ezportplustokens.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) +STRING_TOKEN(STR_NAV_STRINGS_4) +STRING_TOKEN(STR_NAV_STRINGS_5) +STRING_TOKEN(STR_NAV_STRINGS_6) +STRING_TOKEN(STR_NAV_STRINGS_7) +STRING_TOKEN(STR_SET_PASSWORD_PROMPT) +STRING_TOKEN(STR_CHANGE_PASSWORD_PROMPT) +STRING_TOKEN(STR_PASSWORD_SUCCESS_MSG) +STRING_TOKEN(STR_PASSWORD_CLEARED_MSG) +STRING_TOKEN(STR_SUCCESS) +STRING_TOKEN(STR_INFO) +#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/EzportPlus/TseStyleEzportPlus.lib b/EDK/MiniSetup/EzportPlus/TseStyleEzportPlus.lib Binary files differnew file mode 100644 index 0000000..795965c --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/TseStyleEzportPlus.lib diff --git a/EDK/MiniSetup/EzportPlus/TseStyleEzportPlusx64.lib b/EDK/MiniSetup/EzportPlus/TseStyleEzportPlusx64.lib Binary files differnew file mode 100644 index 0000000..ae0873d --- /dev/null +++ b/EDK/MiniSetup/EzportPlus/TseStyleEzportPlusx64.lib |