3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
22 #ifndef _EFI_SETUP_MODE_H_
23 #define _EFI_SETUP_MODE_H_
26 // Global ID for the Setup Mode
28 #define EFI_PLATFORM_BOOT_MODE_GUID \
29 { 0xce845704, 0x1683, 0x4d38, 0xa4, 0xf9, 0x7d, 0xb, 0x50, 0x77, 0x57, 0x93 }
31 #define EFI_NORMAL_SETUP_GUID \
32 { 0xec87d643, 0xeba4, 0x4bb5, 0xa1, 0xe5, 0x3f, 0x3e, 0x36, 0xb2, 0xd, 0xa9 }
34 #define EFI_NORMAL_SETUP_RESET_NAME L"Reset"
38 // This means: "whatever reset defaults in setup does"
40 SetupDataResetNormal
= 0,
43 // This means: "the defaults built into the BIOS"
45 SetupDataResetStandard
= 1,
48 // This means: "the manufacturing mode defaults"
50 SetupDataResetManufacturing
= 2,
53 // This means: "the oem defaults"
55 SetupDataResetOem
= 3,
59 // PlatformBootMode types
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
67 extern EFI_GUID gEfiPlatformBootModeGuid
;
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"
74 extern EFI_GUID gEfiNormalSetupGuid
;
75 extern CHAR16 gEfiNormalSetupName
[];
76 extern CHAR16 gEfiInSetupName
[];
77 extern CHAR16 gEfiSystemPasswordName
[];
81 CHAR16 SetupName
[0x20]; // Maximum "Setup" Name
82 UINT32 PlatformBootMode
;
83 } EFI_PLATFORM_SETUP_ID
;