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/UefiAction.h | 119 +++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 EDK/MiniSetup/TseLite/UefiAction.h (limited to 'EDK/MiniSetup/TseLite/UefiAction.h') diff --git a/EDK/MiniSetup/TseLite/UefiAction.h b/EDK/MiniSetup/TseLite/UefiAction.h new file mode 100644 index 0000000..a0f067f --- /dev/null +++ b/EDK/MiniSetup/TseLite/UefiAction.h @@ -0,0 +1,119 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2010, 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/UefiAction.h $ +// +// $Author: Arunsb $ +// +// $Revision: 5 $ +// +// $Date: 10/18/12 6:03a $ +// +//*****************************************************************// +//*****************************************************************// +// Revision History +// ---------------- +// $Log: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/TseLite/UefiAction.h $ +// +// 5 10/18/12 6:03a Arunsb +// Updated for 2.16.1235 QA submission +// +// 7 10/10/12 12:38p Arunsb +// Synched the source for v2.16.1232, backup with Aptio +// +// 4 2/19/10 1:04p Madhans +// Updated for TSE 2.01. Refer Changelog.log for File change history. +// +// 5 2/19/10 8:19a Mallikarjunanv +// updated year in copyright message +// +// 4 7/31/09 6:35p Presannar +// Remove Include Tiano.h and instead include Minisetup.h +// +// 3 6/16/09 2:16p Presannar +// Added File Headers for Header Files +// +// 2 6/12/09 7:44p Presannar +// Initial implementation of coding standards for AMITSE2.0 +// +//*****************************************************************// +//*****************************************************************// +// +//---------------------------------------------------------------------------- +// +// Name: UefiAction.h +// +// Description: Header file for UefiAction data +// +//---------------------------------------------------------------------------- +// + +#ifndef _UEFI_ACTION_H_ +#define _UEFI_ACTION_H_ + +#include "minisetup.h" + +#include "control.h" +#include "action.h" + +typedef struct _UEFI_ACTION_METHODS UEFI_ACTION_METHODS; + +#define UEFI_ACTION_MEMBER_VARIABLES \ + LABEL_MEMBER_VARIABLES \ + UINT8 Interval; + +typedef struct _UEFI_ACTION_DATA +{ + UEFI_ACTION_METHODS *Methods; + + OBJECT_MEMBER_VARIABLES + CONTROL_MEMBER_VARIABLES + UEFI_ACTION_MEMBER_VARIABLES +} +UEFI_ACTION_DATA; + +#define UEFI_ACTION_METHOD_FUNCTIONS + +struct _UEFI_ACTION_METHODS +{ + OBJECT_METHOD_FUNCTIONS + CONTROL_METHOD_FUNCTIONS + LABEL_METHOD_FUNCTIONS + UEFI_ACTION_METHOD_FUNCTIONS +}; + +extern UEFI_ACTION_METHODS gUefiAction; + +// Object Methods +EFI_STATUS UefiActionCreate( VOID **object ); +EFI_STATUS UefiActionInitialize( VOID *object, VOID *data ); +EFI_STATUS UefiActionDraw( VOID *object ); +EFI_STATUS UefiActionHandleAction(VOID *object, ACTION_DATA *Data); + +#endif /*#ifndef _UEFI_ACTION_H_*/ + +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2010, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** -- cgit v1.2.3