1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
// /** @file
//
// Copyright (c) 2016 - 2017, 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
// which 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.
//
// **/
#include "Configuration.h"
#include "PlatformSetupDxeStrDefs.h"
#include "Guid/SetupVariable.h"
#define EFI_VARIABLE_NON_VOLATILE 0x00000001
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
formset
guid = SYSTEM_CONFIGURATION_GUID,
title = STRING_TOKEN(STR_SYSTEM_SETUP_TITLE),
help = STRING_TOKEN(STR_SYSTEM_SETUP_HELP),
class = 1,
subclass = 0,
efivarstore SYSTEM_CONFIGURATION, attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS, name = Setup, guid = SYSTEM_CONFIGURATION_GUID;
form formid = ROOT_FORM_ID,
title = STRING_TOKEN(STR_SYSTEM_SETUP_TITLE);
//
// Jump to 1)Main Form
//
goto ROOT_MAIN_FORM_ID,
prompt = STRING_TOKEN(STR_MAIN_TITLE),
help = STRING_TOKEN(STR_MAIN_HELP),
flags = INTERACTIVE, // INTERACTIVE indicate it's marked with EFI_IFR_FLAG_CALLBACK
key = 0x1003; // Question ID which will be passed-in in COnfigAccess.Callback()
//
// Jump to 2)CPU Configuration Form
//
goto CPU_CONFIGURATION_FORM_ID,
prompt = STRING_TOKEN(STR_CPU_CONFIGURATION_TITLE),
help = STRING_TOKEN(STR_CPU_CONFIGURATION_HELP);
//
// Jump to 3)Uncore Configuration Form
//
goto UNCORE_FORM_ID,
prompt = STRING_TOKEN(STR_UNCORE_CONFIGURATION_TITLE),
help = STRING_TOKEN(STR_UNCORE_CONFIGURATION_HELP);
//
// Jump to 4)South Cluster Configuration Form
//
goto SOUTH_CLUSTER_FORM_ID,
prompt = STRING_TOKEN(STR_SOUTH_CLUSTER_TITLE),
help = STRING_TOKEN(STR_SOUTH_CLUSTER_HELP);
// Jump to 5)Boot Form
//
goto BOOT_CONFIGURATION_FORM_ID,
prompt = STRING_TOKEN(STR_BOOT_CONFIGURATION_TITLE),
help = STRING_TOKEN(STR_BOOT_CONFIGURATION_HELP);
//
// Jump to 6)Security Configuration Form
//
goto SECURITY_CONFIGURATION_FORM_ID,
prompt = STRING_TOKEN(STR_SECURITY_CONFIGURATION_TITLE),
help = STRING_TOKEN(STR_SECURITY_CONFIGURATION_HELP);
//
// Jump to 7)Thermal Form
//
goto THERMAL_FORM_ID,
prompt = STRING_TOKEN(STR_THERMAL_TITLE),
help = STRING_TOKEN(STR_THERMAL_HELP);
//
// Jump to 8) System Component Form
goto SYSTEM_COMPONENT_FORM_ID,
prompt = STRING_TOKEN(STR_SYSTEM_COMPONENT_TITLE),
help = STRING_TOKEN(STR_SYSTEM_COMPONENT_HELP);
//
// Jump to 10)Debug Configuration Form
//
goto DEBUG_CONFIGURATION_FORM_ID,
prompt = STRING_TOKEN(STR_DEBUG_CONFIGURATION_TITLE),
help = STRING_TOKEN(STR_DEBUG_CONFIGURATION_HELP);
//
// Jump to 11)ACPI Configuration Form
//
goto ACPI_SETUP_FORM_ID,
prompt = STRING_TOKEN(STR_ACPI_SETUP_TITLE),
help = STRING_TOKEN(STR_ACPI_SETUP_HELP);
//
// Jump to 12)RTD3 Configuration Form
//
goto RTD3_FORM_ID,
prompt = STRING_TOKEN(STR_RTD3_FORM),
help = STRING_TOKEN(STR_RTD3_FORM_HELP);
endform;
#include "Main.vfi"
#include "Cpu.vfi"
#include "UnCore.vfi"
#include "SouthClusterConfig.vfi"
#include "Boot.vfi"
#include "Security.vfi"
#include "Thermal.vfi"
#include "SystemComponent.vfi"
#include "DebugConfig.vfi"
#include "AcpiSetup.vfi"
#include "RtD3.vfi"
endformset;
|