From 31bb486c913795c8b67d1c4dbaae2bdec4943fc9 Mon Sep 17 00:00:00 2001 From: raywu Date: Thu, 13 Sep 2018 16:11:56 +0800 Subject: SLP1.0 / SLP2.0 / Default Password / Logo / Fix Boot Order --- EDK/MiniSetup/TseLite/ResetButton.h | 106 ++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 EDK/MiniSetup/TseLite/ResetButton.h (limited to 'EDK/MiniSetup/TseLite/ResetButton.h') diff --git a/EDK/MiniSetup/TseLite/ResetButton.h b/EDK/MiniSetup/TseLite/ResetButton.h new file mode 100644 index 0000000..99e1cc4 --- /dev/null +++ b/EDK/MiniSetup/TseLite/ResetButton.h @@ -0,0 +1,106 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2011, 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/TseLite/ResetButton.h $ +// +// $Author: Arunsb $ +// +// $Revision: 2 $ +// +// $Date: 10/18/12 6:03a $ +// +//*****************************************************************// +//*****************************************************************// +// Revision History +// ---------------- +// $Log: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/TseLite/ResetButton.h $ +// +// 2 10/18/12 6:03a Arunsb +// Updated for 2.16.1235 QA submission +// +// 2 10/10/12 12:38p Arunsb +// Synched the source for v2.16.1232, backup with Aptio +// +// 1 3/28/11 4:02p Rajashakerg +// Added to support reset opcode. +// +// +//*****************************************************************// +//*****************************************************************// +// +//---------------------------------------------------------------------------- +// +// Name: ResetButton.h +// +// Description: Header file for ResetButton data +// +//---------------------------------------------------------------------------- +// + +#ifndef _RESET_BUTTON_H_ +#define _RESET_BUTTON_H_ + +#include "minisetup.h" + +#include "control.h" +#include "action.h" + +typedef struct _RESET_BUTTON_METHODS RESET_BUTTON_METHODS; + +#define RESET_BUTTON_MEMBER_VARIABLES \ + LABEL_MEMBER_VARIABLES + +typedef struct _RESET_BUTTON_DATA +{ + RESET_BUTTON_METHODS *Methods; + + OBJECT_MEMBER_VARIABLES + CONTROL_MEMBER_VARIABLES + RESET_BUTTON_MEMBER_VARIABLES +} +RESET_BUTTON_DATA; + +#define RESET_BUTTON_METHOD_FUNCTIONS + +struct _RESET_BUTTON_METHODS +{ + OBJECT_METHOD_FUNCTIONS + CONTROL_METHOD_FUNCTIONS + RESET_BUTTON_METHOD_FUNCTIONS +}; + +extern RESET_BUTTON_METHODS gResetButton; + +// Object Methods +EFI_STATUS ResetButtonCreate( VOID **object ); +EFI_STATUS ResetButtonInitialize( VOID *object, VOID *data ); +EFI_STATUS ResetButtonDraw( VOID *object ); +EFI_STATUS ResetButtonHandleAction(VOID *object, ACTION_DATA *Data); + +#endif + +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** -- cgit v1.2.3