summaryrefslogtreecommitdiff
path: root/EDK/MiniSetup/TseLite/ResetButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'EDK/MiniSetup/TseLite/ResetButton.h')
-rw-r--r--EDK/MiniSetup/TseLite/ResetButton.h106
1 files changed, 106 insertions, 0 deletions
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.
+//
+//
+//*****************************************************************//
+//*****************************************************************//
+//<AMI_FHDR_START>
+//----------------------------------------------------------------------------
+//
+// Name: ResetButton.h
+//
+// Description: Header file for ResetButton data
+//
+//----------------------------------------------------------------------------
+//<AMI_FHDR_END>
+
+#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 **
+//** **
+//**********************************************************************
+//**********************************************************************