]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Include/SetupMode.h
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / SetupMode.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9
10 Module Name:
11
12 SetupMode.h
13
14 Abstract:
15
16 EFI Setup Mode
17
18
19
20 --*/
21
22 #ifndef _EFI_SETUP_MODE_H_
23 #define _EFI_SETUP_MODE_H_
24
25 //
26 // Global ID for the Setup Mode
27 //
28 #define EFI_PLATFORM_BOOT_MODE_GUID \
29 { 0xce845704, 0x1683, 0x4d38, 0xa4, 0xf9, 0x7d, 0xb, 0x50, 0x77, 0x57, 0x93 }
30
31 #define EFI_NORMAL_SETUP_GUID \
32 { 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 }
33
34 #define EFI_NORMAL_SETUP_RESET_NAME L"Reset"
35
36 enum {
37 //
38 // This means: "whatever reset defaults in setup does"
39 //
40 SetupDataResetNormal = 0,
41
42 //
43 // This means: "the defaults built into the BIOS"
44 //
45 SetupDataResetStandard = 1,
46
47 //
48 // This means: "the manufacturing mode defaults"
49 //
50 SetupDataResetManufacturing = 2,
51
52 //
53 // This means: "the oem defaults"
54 //
55 SetupDataResetOem = 3,
56 };
57
58 //
59 // PlatformBootMode types
60 //
61 #define PLATFORM_NORMAL_MODE 0x01
62 #define PLATFORM_SAFE_MODE 0x02
63 #define PLATFORM_RECOVERY_MODE 0x04
64 #define PLATFORM_MANUFACTURING_MODE 0x08
65 #define PLATFORM_BACK_TO_BIOS_MODE 0x10
66
67 extern EFI_GUID gEfiPlatformBootModeGuid;
68
69 #define NORMAL_SETUP_NAME L"Setup"
70 #define IN_SETUP_NAME L"InSetup"
71 #define SYSTEM_PASSWORD_NAME L"SystemPassword"
72 #define BOOT_TIME_NAME L"BootTime"
73
74 extern EFI_GUID gEfiNormalSetupGuid;
75 extern CHAR16 gEfiNormalSetupName[];
76 extern CHAR16 gEfiInSetupName[];
77 extern CHAR16 gEfiSystemPasswordName[];
78
79 typedef struct {
80 EFI_GUID SetupGuid;
81 CHAR16 SetupName[0x20]; // Maximum "Setup" Name
82 UINT32 PlatformBootMode;
83 } EFI_PLATFORM_SETUP_ID;
84
85 #endif