Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
https://svn.code.sf.net/p/edk2/code/trunk/edk2/, which are for MinnowBoard MAX open source project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com> Reviewed-by: Mike Wu <mike.wu@intel.com> Reviewed-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16599 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
84
Vlv2TbltDevicePkg/Include/Protocol/SetupMode.h
Normal file
84
Vlv2TbltDevicePkg/Include/Protocol/SetupMode.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
|
||||
The full text of the license may be found at
|
||||
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Module Name:
|
||||
|
||||
SetupMode.h
|
||||
|
||||
Abstract:
|
||||
|
||||
EFI Setup Mode
|
||||
|
||||
Revision History
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _EFI_SETUP_MODE_H_
|
||||
#define _EFI_SETUP_MODE_H_
|
||||
|
||||
//
|
||||
// Global ID for the Setup Mode
|
||||
//
|
||||
#define EFI_PLATFORM_BOOT_MODE_GUID \
|
||||
{ 0xce845704, 0x1683, 0x4d38, 0xa4, 0xf9, 0x7d, 0xb, 0x50, 0x77, 0x57, 0x93 }
|
||||
|
||||
#define EFI_NORMAL_SETUP_GUID \
|
||||
{ 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 }
|
||||
|
||||
#define EFI_NORMAL_SETUP_RESET_NAME L"Reset"
|
||||
|
||||
enum {
|
||||
//
|
||||
// This means: "whatever reset defaults in setup does"
|
||||
//
|
||||
SetupDataResetNormal = 0,
|
||||
|
||||
//
|
||||
// This means: "the defaults built into the BIOS"
|
||||
//
|
||||
SetupDataResetStandard = 1,
|
||||
|
||||
//
|
||||
// This means: "the manufacturing mode defaults"
|
||||
//
|
||||
SetupDataResetManufacturing = 2,
|
||||
|
||||
//
|
||||
// This means: "the oem defaults"
|
||||
//
|
||||
SetupDataResetOem = 3,
|
||||
};
|
||||
|
||||
//
|
||||
// PlatformBootMode types
|
||||
//
|
||||
#define PLATFORM_NORMAL_MODE 0x01
|
||||
#define PLATFORM_SAFE_MODE 0x02
|
||||
#define PLATFORM_RECOVERY_MODE 0x04
|
||||
#define PLATFORM_MANUFACTURING_MODE 0x08
|
||||
#define PLATFORM_BACK_TO_BIOS_MODE 0x10
|
||||
|
||||
extern EFI_GUID gEfiPlatformBootModeGuid;
|
||||
extern EFI_GUID gEfiNormalSetupGuid;
|
||||
extern CHAR16 gEfiNormalSetupName[];
|
||||
extern CHAR16 gEfiInSetupName[];
|
Reference in New Issue
Block a user