3 // Copyright (C) 2014, Red Hat, Inc.
4 // Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
6 // This program and the accompanying materials are licensed and made available
7 // under the terms and conditions of the BSD License which accompanies this
8 // distribution. The full text of the license may be found at
9 // http://opensource.org/licenses/bsd-license.php
11 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
21 // Form definitions for exposing some of OVMF's platform knobs via HII.
25 #include <Guid/OvmfPlatformConfig.h>
29 guid = OVMF_PLATFORM_CONFIG_GUID,
30 title = STRING_TOKEN(STR_FORMSET_TITLE),
31 help = STRING_TOKEN(STR_FORMSET_HELP),
33 varstore MAIN_FORM_STATE,
34 varid = FORMSTATEID_MAIN_FORM,
36 guid = OVMF_PLATFORM_CONFIG_GUID;
39 formid = FORMID_MAIN_FORM,
40 title = STRING_TOKEN(STR_MAIN_FORM_TITLE);
43 // Display the current preference in a read-only string field.
46 varid = MainFormState.CurrentPreferredResolution,
47 questionid = QUESTION_RES_CUR,
48 prompt = STRING_TOKEN(STR_RES_CUR),
49 help = STRING_TOKEN(STR_RES_CUR_HELP),
52 maxsize = MAXSIZE_RES_CUR,
56 // We'll dynamically generate a one-of-many selection at this label.
61 help = STRING_TOKEN(STR_SAVE_EXIT),
62 text = STRING_TOKEN(STR_SAVE_EXIT),
64 key = QUESTION_SAVE_EXIT;
67 help = STRING_TOKEN(STR_DISCARD_EXIT),
68 text = STRING_TOKEN(STR_DISCARD_EXIT),
70 key = QUESTION_DISCARD_EXIT;