OvmfPkg/PlatformDxe: list "Platform.h" in the INF file
[mirror_edk2.git] / OvmfPkg / PlatformDxe / PlatformForms.vfr
index c526ffac9e3991a0d25c1740d6430b017b5c128a..a254572bafa072928eebbd3001f5c4c8251f867b 100644 (file)
@@ -38,6 +38,37 @@ formset
   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