From b7c51c9cf4864df6aabb99a1ae843becd577237c Mon Sep 17 00:00:00 2001 From: raywu Date: Fri, 15 Jun 2018 00:00:50 +0800 Subject: init. 1AQQW051 --- EDK/MiniSetup/Legacy/HotclickBin.c | 58 +++++++++++ EDK/MiniSetup/Legacy/HotclickBin.h | 49 +++++++++ EDK/MiniSetup/Legacy/HotkeyBin.c | 106 +++++++++++++++++++ EDK/MiniSetup/Legacy/HotkeyBin.h | 54 ++++++++++ EDK/MiniSetup/Legacy/LegacyBin.cif | 17 +++ EDK/MiniSetup/Legacy/LegacyBin.mak | 156 +++++++++++++++++++++++++++ EDK/MiniSetup/Legacy/LegacyBin.sdl | 162 +++++++++++++++++++++++++++++ EDK/MiniSetup/Legacy/StyleStr.uni | Bin 0 -> 8924 bytes EDK/MiniSetup/Legacy/StyleTokens.c | 114 ++++++++++++++++++++ EDK/MiniSetup/Legacy/TseStyleLegacy.lib | Bin 0 -> 41110 bytes EDK/MiniSetup/Legacy/TseStyleLegacyx64.lib | Bin 0 -> 45562 bytes 11 files changed, 716 insertions(+) create mode 100644 EDK/MiniSetup/Legacy/HotclickBin.c create mode 100644 EDK/MiniSetup/Legacy/HotclickBin.h create mode 100644 EDK/MiniSetup/Legacy/HotkeyBin.c create mode 100644 EDK/MiniSetup/Legacy/HotkeyBin.h create mode 100644 EDK/MiniSetup/Legacy/LegacyBin.cif create mode 100644 EDK/MiniSetup/Legacy/LegacyBin.mak create mode 100644 EDK/MiniSetup/Legacy/LegacyBin.sdl create mode 100644 EDK/MiniSetup/Legacy/StyleStr.uni create mode 100644 EDK/MiniSetup/Legacy/StyleTokens.c create mode 100644 EDK/MiniSetup/Legacy/TseStyleLegacy.lib create mode 100644 EDK/MiniSetup/Legacy/TseStyleLegacyx64.lib (limited to 'EDK/MiniSetup/Legacy') diff --git a/EDK/MiniSetup/Legacy/HotclickBin.c b/EDK/MiniSetup/Legacy/HotclickBin.c new file mode 100644 index 0000000..a200ec7 --- /dev/null +++ b/EDK/MiniSetup/Legacy/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 +#include + +#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 }; //Added 0 for having null entry if HOTCLICK_FULLSCREEN_SUPPORT = 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/Legacy/HotclickBin.h b/EDK/MiniSetup/Legacy/HotclickBin.h new file mode 100644 index 0000000..e68fcbb --- /dev/null +++ b/EDK/MiniSetup/Legacy/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 LegacyMainFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie ); +extern VOID LegacyHelpFrameHandlewithMouse( VOID *app, VOID *hotclick, VOID *cookie ); +extern VOID LegacyNavFrameHandlewithMouse( 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/Legacy/HotkeyBin.c b/EDK/MiniSetup/Legacy/HotkeyBin.c new file mode 100644 index 0000000..f78761f --- /dev/null +++ b/EDK/MiniSetup/Legacy/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 +#include + +#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_1); +#else +UINT16 gStrNavToken = STRING_TOKEN(STR_NAV_STRINGS_1); +#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/Legacy/HotkeyBin.h b/EDK/MiniSetup/Legacy/HotkeyBin.h new file mode 100644 index 0000000..b739fa1 --- /dev/null +++ b/EDK/MiniSetup/Legacy/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 LegacyHandleEscKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandleHelpKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandlePrevValuesKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandleFailsafeKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandleOptimalKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandleSaveExitKey( VOID *app, VOID *hotkey, VOID *cookie ); +extern VOID LegacyHandlePrnScrnKey( 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/Legacy/LegacyBin.cif b/EDK/MiniSetup/Legacy/LegacyBin.cif new file mode 100644 index 0000000..dafa9c8 --- /dev/null +++ b/EDK/MiniSetup/Legacy/LegacyBin.cif @@ -0,0 +1,17 @@ + + name = "TSE Sytle Binary - Legacy" + category = ModulePart + LocalRoot = "EDK\MiniSetup\Legacy" + RefName = "LegacyBin" +[files] +"LegacyBin.sdl" +"TseStyleLegacy.lib" +"TseStyleLegacyx64.lib" +"StyleStr.uni" +"StyleTokens.c" +"HotkeyBin.h" +"HotkeyBin.c" +"LegacyBin.mak" +"HotclickBin.h" +"HotclickBin.c" + diff --git a/EDK/MiniSetup/Legacy/LegacyBin.mak b/EDK/MiniSetup/Legacy/LegacyBin.mak new file mode 100644 index 0000000..6218927 --- /dev/null +++ b/EDK/MiniSetup/Legacy/LegacyBin.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/Legacy/LegacyBin.mak $ +## +## $Author: Arunsb $ +## +## $Revision: 3 $ +## +## $Date: 10/18/12 5:50a $ +## +##*****************************************************************## +##*****************************************************************## +## Revision History +## ---------------- +## $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Legacy/LegacyBin.mak $ +# +# 3 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 +# +# 2 6/29/11 12:46p 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. +## +## 1 9/16/10 6:37p Blaines +## +## 1 9/16/10 6:32p Blaines +## +## 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:LegacyBin +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:LegacyBin +AMITSEBin: $(BUILD_DIR)\$(TSE_STYLE_DIR)\HotclickBin.obj + +$(BUILD_DIR)\LegacyBin.mak : $(TSE_STYLE_DIR)\$(@B).cif $(TSE_STYLE_DIR)\$(@B).mak $(BUILD_RULES) + $(CIF2MAK) $(TSE_STYLE_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS) + +AMITSESDB : LegacySDB + +LegacySDB : $(BUILD_DIR)\LegacyBin.mak + $(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\ + /f $(BUILD_DIR)\LegacyBin.mak all\ + "UNI_INCLUDE_PATH=$(TSEBIN_DIR) $(TSE_UNI_INCLUDE_PATH)"\ + "STRING_CONSUMERS=$(TSE_STYLE_DIR)\StyleTokens.c"\ + TYPE=SDB NAME=LegacyBin + +##*****************************************************************## +##*****************************************************************## +##** **## +##** (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/Legacy/LegacyBin.sdl b/EDK/MiniSetup/Legacy/LegacyBin.sdl new file mode 100644 index 0000000..ad9f37b --- /dev/null +++ b/EDK/MiniSetup/Legacy/LegacyBin.sdl @@ -0,0 +1,162 @@ +TOKEN + Name = "TSE_STYLE_LEGACY_BIN_SUPPORT" + Value = "0" + Help = "Main switch to enable Legacy 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_LEGACY" + Value = "1" + Help = "Condition to support Legacy 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, LegacyHandleSaveExitKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_F2, 0 },0,LegacyHandlePrevValuesKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_F3, 0 },0,LegacyHandleOptimalKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_F1, 0 },0,LegacyHandleHelpKey, 1 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{SCAN_ESC,0},0, LegacyHandleEscKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent +End + +ELINK + Name = "{{TSE_PRN_SCRN_KEY_SCAN,0},0, LegacyHandlePrnScrnKey, 0 }," + Parent = "HOTKEY_LIST" + InvokeOrder = AfterParent + Token = "TSE_PRN_SCRN_EVENT_SUPPORT" "=" "1" +End + +PATH + Name = "TSE_STYLE_DIR" +End + +MODULE + Help = "Includes LegacyBin.mak to Project" + File = "LegacyBin.mak" +End + +ELINK + Name = "$(TSE_STYLE_DIR)\TSEStyleLegacy$(ARCH).lib" + Parent = "MINISETUPLIB" + Priority = 30 + InvokeOrder = AfterParent +End + +ELINK + Name = "{ 1, 2, 1 + 98, 2+19, LegacyMainFrameHandlewithMouse, 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 = "{ 70, 5, 70 + 29, 5 + 21, LegacyHelpFrameHandlewithMouse, 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, LegacyNavFrameHandlewithMouse, 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, LegacyMainFrameHandlewithMouse, 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, LegacyHelpFrameHandlewithMouse, 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, LegacyNavFrameHandlewithMouse, 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 = "-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)\LegacyBin.sdb" + Parent = "TSE_SDBS" + InvokeOrder = AfterParent +End \ No newline at end of file diff --git a/EDK/MiniSetup/Legacy/StyleStr.uni b/EDK/MiniSetup/Legacy/StyleStr.uni new file mode 100644 index 0000000..2130388 Binary files /dev/null and b/EDK/MiniSetup/Legacy/StyleStr.uni differ diff --git a/EDK/MiniSetup/Legacy/StyleTokens.c b/EDK/MiniSetup/Legacy/StyleTokens.c new file mode 100644 index 0000000..ebab296 --- /dev/null +++ b/EDK/MiniSetup/Legacy/StyleTokens.c @@ -0,0 +1,114 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (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/Legacy/StyleTokens.c $ +// +// $Author: Arunsb $ +// +// $Revision: 2 $ +// +// $Date: 10/18/12 5:49a $ +// +//*****************************************************************// +//*****************************************************************// +// Revision History +// ---------------- +// $Log: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/Legacy/StyleTokens.c $ +// +// 2 10/18/12 5:49a 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 +// +// 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. +// +// 1 9/16/10 6:37p Blaines +// +// 1 9/16/10 6:32p Blaines +// +// 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. +// +// +//*****************************************************************// +//*****************************************************************// +//********************************************************************** +// +// +// 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 +// +// +//********************************************************************** + + +//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/Legacy/TseStyleLegacy.lib b/EDK/MiniSetup/Legacy/TseStyleLegacy.lib new file mode 100644 index 0000000..86db99e Binary files /dev/null and b/EDK/MiniSetup/Legacy/TseStyleLegacy.lib differ diff --git a/EDK/MiniSetup/Legacy/TseStyleLegacyx64.lib b/EDK/MiniSetup/Legacy/TseStyleLegacyx64.lib new file mode 100644 index 0000000..cb8c5f5 Binary files /dev/null and b/EDK/MiniSetup/Legacy/TseStyleLegacyx64.lib differ -- cgit v1.2.3