3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
27 #ifndef _EFI_SETUP_MODE_H_
28 #define _EFI_SETUP_MODE_H_
31 // Global ID for the Setup Mode
33 #define EFI_PLATFORM_BOOT_MODE_GUID \
34 { 0xce845704, 0x1683, 0x4d38, 0xa4, 0xf9, 0x7d, 0xb, 0x50, 0x77, 0x57, 0x93 }
36 #define EFI_NORMAL_SETUP_GUID \
37 { 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 }
39 #define EFI_NORMAL_SETUP_RESET_NAME L"Reset"
43 // This means: "whatever reset defaults in setup does"
45 SetupDataResetNormal
= 0,
48 // This means: "the defaults built into the BIOS"
50 SetupDataResetStandard
= 1,
53 // This means: "the manufacturing mode defaults"
55 SetupDataResetManufacturing
= 2,
58 // This means: "the oem defaults"
60 SetupDataResetOem
= 3,
64 // PlatformBootMode types
66 #define PLATFORM_NORMAL_MODE 0x01
67 #define PLATFORM_SAFE_MODE 0x02
68 #define PLATFORM_RECOVERY_MODE 0x04
69 #define PLATFORM_MANUFACTURING_MODE 0x08
70 #define PLATFORM_BACK_TO_BIOS_MODE 0x10
72 extern EFI_GUID gEfiPlatformBootModeGuid
;
74 #define NORMAL_SETUP_NAME L"Setup"
75 #define IN_SETUP_NAME L"InSetup"
76 #define SYSTEM_PASSWORD_NAME L"SystemPassword"
77 #define BOOT_TIME_NAME L"BootTime"
79 extern EFI_GUID gEfiNormalSetupGuid
;
80 extern CHAR16 gEfiNormalSetupName
[];
81 extern CHAR16 gEfiInSetupName
[];
82 extern CHAR16 gEfiSystemPasswordName
[];
86 CHAR16 SetupName
[0x20]; // Maximum "Setup" Name
87 UINT32 PlatformBootMode
;
88 } EFI_PLATFORM_SETUP_ID
;