]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskHii.vfr
MdeModulePkg/RamDiskDxe: Add Memory Type selection support in Ramdisk HII
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / RamDiskDxe / RamDiskHii.vfr
index 270f791007d7126dc52375bb240c587964f1859e..5f3d0fa7df5ac7dbd7421142238822f0ead9d417 100644 (file)
@@ -2,6 +2,7 @@
 //  VFR file used by the RamDiskDxe driver.\r
 //\r
 //  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+//  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 //  This program and the accompanying materials\r
 //  are licensed and made available under the terms and conditions of the BSD License\r
 //  which accompanies this distribution.  The full text of the license may be found at\r
@@ -26,6 +27,17 @@ formset
   form formid = MAIN_FORM_ID,\r
     title  = STRING_TOKEN(STR_MAIN_FORM_TITLE);\r
 \r
+    oneof\r
+      questionid  = CREATE_RAW_MEMORY_TYPE_QUESTION_ID,\r
+        prompt      = STRING_TOKEN(STR_MEMORY_TYPE_PROMPT),\r
+        help        = STRING_TOKEN(STR_MEMORY_TYPE_HELP),\r
+        flags       = NUMERIC_SIZE_1 | INTERACTIVE,\r
+        option text = STRING_TOKEN(STR_RAM_DISK_BOOT_SERVICE_DATA_MEMORY), value = RAM_DISK_BOOT_SERVICE_DATA_MEMORY, flags = DEFAULT;\r
+        option text = STRING_TOKEN(STR_RAM_DISK_RESERVED_MEMORY), value = RAM_DISK_RESERVED_MEMORY, flags = 0;\r
+    endoneof;\r
+\r
+    subtitle text = STRING_TOKEN(STR_RAM_DISK_NULL_STRING);\r
+\r
     goto CREATE_RAW_RAM_DISK_FORM_ID,\r
       prompt = STRING_TOKEN(STR_GOTO_ADD_RAW_FORM),\r
       help   = STRING_TOKEN(STR_GOTO_ADD_RAW_FORM_HELP);\r