// Copyright (C) 2014, Red Hat, Inc.\r
// Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
//\r
-// This program and the accompanying materials are licensed and made available\r
-// under the terms and conditions of the BSD License which accompanies this\r
-// distribution. The full text of the license may be found at\r
-// http://opensource.org/licenses/bsd-license.php\r
-//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR\r
-// IMPLIED.\r
+// SPDX-License-Identifier: BSD-2-Clause-Patent\r
//\r
// Module Name:\r
//\r
title = STRING_TOKEN(STR_FORMSET_TITLE),\r
help = STRING_TOKEN(STR_FORMSET_HELP),\r
\r
+ varstore MAIN_FORM_STATE,\r
+ varid = FORMSTATEID_MAIN_FORM,\r
+ name = MainFormState,\r
+ guid = OVMF_PLATFORM_CONFIG_GUID;\r
+\r
form\r
formid = FORMID_MAIN_FORM,\r
title = STRING_TOKEN(STR_MAIN_FORM_TITLE);\r
+\r
+ //\r
+ // Display the current preference in a read-only string field.\r
+ //\r
+ string\r
+ varid = MainFormState.CurrentPreferredResolution,\r
+ questionid = QUESTION_RES_CUR,\r
+ prompt = STRING_TOKEN(STR_RES_CUR),\r
+ help = STRING_TOKEN(STR_RES_CUR_HELP),\r
+ flags = READ_ONLY,\r
+ minsize = 0,\r
+ maxsize = MAXSIZE_RES_CUR,\r
+ endstring;\r
+\r
+ //\r
+ // We'll dynamically generate a one-of-many selection at this label.\r
+ //\r
+ label LABEL_RES_NEXT;\r
+\r
+ text\r
+ help = STRING_TOKEN(STR_SAVE_EXIT),\r
+ text = STRING_TOKEN(STR_SAVE_EXIT),\r
+ flags = INTERACTIVE,\r
+ key = QUESTION_SAVE_EXIT;\r
+\r
+ text\r
+ help = STRING_TOKEN(STR_DISCARD_EXIT),\r
+ text = STRING_TOKEN(STR_DISCARD_EXIT),\r
+ flags = INTERACTIVE,\r
+ key = QUESTION_DISCARD_EXIT;\r
+\r
endform;\r
\r
endformset;\r