]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/PlatformDxe/PlatformForms.vfr
OvmfPkg/PlatformDxe: list "Platform.h" in the INF file
[mirror_edk2.git] / OvmfPkg / PlatformDxe / PlatformForms.vfr
... / ...
CommitLineData
1// *++\r
2//\r
3// Copyright (C) 2014, Red Hat, Inc.\r
4// Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
5//\r
6// This program and the accompanying materials are licensed and made available\r
7// under the terms and conditions of the BSD License which accompanies this\r
8// distribution. The full text of the license may be found at\r
9// http://opensource.org/licenses/bsd-license.php\r
10//\r
11// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR\r
13// IMPLIED.\r
14//\r
15// Module Name:\r
16//\r
17// PlatformForms.vfr\r
18//\r
19// Abstract:\r
20//\r
21// Form definitions for exposing some of OVMF's platform knobs via HII.\r
22//\r
23// --*/\r
24\r
25#include <Guid/OvmfPlatformConfig.h>\r
26#include "Platform.h"\r
27\r
28formset\r
29 guid = OVMF_PLATFORM_CONFIG_GUID,\r
30 title = STRING_TOKEN(STR_FORMSET_TITLE),\r
31 help = STRING_TOKEN(STR_FORMSET_HELP),\r
32\r
33 varstore MAIN_FORM_STATE,\r
34 varid = FORMSTATEID_MAIN_FORM,\r
35 name = MainFormState,\r
36 guid = OVMF_PLATFORM_CONFIG_GUID;\r
37\r
38 form\r
39 formid = FORMID_MAIN_FORM,\r
40 title = STRING_TOKEN(STR_MAIN_FORM_TITLE);\r
41\r
42 //\r
43 // Display the current preference in a read-only string field.\r
44 //\r
45 string\r
46 varid = MainFormState.CurrentPreferredResolution,\r
47 questionid = QUESTION_RES_CUR,\r
48 prompt = STRING_TOKEN(STR_RES_CUR),\r
49 help = STRING_TOKEN(STR_RES_CUR_HELP),\r
50 flags = READ_ONLY,\r
51 minsize = 0,\r
52 maxsize = MAXSIZE_RES_CUR,\r
53 endstring;\r
54\r
55 //\r
56 // We'll dynamically generate a one-of-many selection at this label.\r
57 //\r
58 label LABEL_RES_NEXT;\r
59\r
60 text\r
61 help = STRING_TOKEN(STR_SAVE_EXIT),\r
62 text = STRING_TOKEN(STR_SAVE_EXIT),\r
63 flags = INTERACTIVE,\r
64 key = QUESTION_SAVE_EXIT;\r
65\r
66 text\r
67 help = STRING_TOKEN(STR_DISCARD_EXIT),\r
68 text = STRING_TOKEN(STR_DISCARD_EXIT),\r
69 flags = INTERACTIVE,\r
70 key = QUESTION_DISCARD_EXIT;\r
71\r
72 endform;\r
73\r
74endformset;\r