]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr
EmbeddedPkg: use central variable definitions in .vfr files
[mirror_edk2.git] / EmbeddedPkg / Drivers / DtPlatformDxe / DtPlatformHii.vfr
CommitLineData
779cc439
AB
1/** @file\r
2*\r
3* Copyright (c) 2017, Linaro, Ltd. All rights reserved.\r
4*\r
5* This program and the accompanying materials\r
6* are licensed and made available under the terms and conditions of the BSD License\r
7* which accompanies this distribution. The full text of the license may be found at\r
8* http://opensource.org/licenses/bsd-license.php\r
9*\r
10* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12*\r
13**/\r
14\r
aae5def8 15#include <Uefi/UefiMultiPhase.h>\r
779cc439
AB
16#include "DtPlatformDxe.h"\r
17\r
779cc439
AB
18formset\r
19 guid = DT_PLATFORM_FORMSET_GUID,\r
20 title = STRING_TOKEN(STR_FORM_SET_TITLE),\r
21 help = STRING_TOKEN(STR_FORM_SET_TITLE_HELP),\r
22 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,\r
23\r
24 efivarstore DT_ACPI_VARSTORE_DATA,\r
25 attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, // EFI variable attributes\r
26 name = DtAcpiPref,\r
27 guid = DT_PLATFORM_FORMSET_GUID;\r
28\r
29 form formid = 0x1000,\r
30 title = STRING_TOKEN(STR_MAIN_FORM_TITLE);\r
31\r
32 oneof varid = DtAcpiPref.Pref,\r
33 prompt = STRING_TOKEN(STR_DT_ACPI_SELECT_PROMPT),\r
34 help = STRING_TOKEN(STR_DT_ACPI_SELECT_HELP),\r
35 flags = NUMERIC_SIZE_1 | INTERACTIVE | RESET_REQUIRED,\r
36 option text = STRING_TOKEN(STR_DT_ACPI_SELECT_DT), value = DT_ACPI_SELECT_DT, flags = DEFAULT;\r
37 option text = STRING_TOKEN(STR_DT_ACPI_SELECT_ACPI), value = DT_ACPI_SELECT_ACPI, flags = 0;\r
38 endoneof;\r
39\r
40 subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
41\r
42 endform;\r
43\r
44endformset;\r