summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h')
-rw-r--r--MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
index 2b5d045198..1426320121 100644
--- a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
+++ b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
@@ -23,9 +23,9 @@
#define MAIN_FORM_ID 0x1000
#define MAIN_GOTO_FILE_EXPLORER_ID 0x1001
#define MAIN_REMOVE_RD_QUESTION_ID 0x1002
-#define MAIN_CHECKBOX_QUESTION_ID_START 0x1003
-#define MAIN_LABEL_LIST_START 0x1004
-#define MAIN_LABEL_LIST_END 0x1005
+#define MAIN_LABEL_LIST_START 0x1003
+#define MAIN_LABEL_LIST_END 0x1004
+#define MAIN_CHECKBOX_QUESTION_ID_START 0x1100
#define CREATE_RAW_RAM_DISK_FORM_ID 0x2000
#define CREATE_RAW_SIZE_QUESTION_ID 0x2001
@@ -33,11 +33,10 @@
#define CREATE_RAW_DISCARD_QUESTION_ID 0x2003
typedef struct {
- UINT64 Size;
//
- // CheckBox status for created RAM disks
+ // The size of the RAM disk to be created.
//
- UINT8 RamDiskList[0];
+ UINT64 Size;
} RAM_DISK_CONFIGURATION;
#endif