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