]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
MdeModulePkg RamDiskDxe: Do not save 'Size' numeric value by varstore
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / RamDiskDxe / RamDiskNVData.h
CommitLineData
20752cb8
HW
1/** @file\r
2 Header file for NV data structure definition.\r
3\r
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _RAM_DISK_NVDATA_H_\r
16#define _RAM_DISK_NVDATA_H_\r
17\r
18#include <Guid/HiiPlatformSetupFormset.h>\r
19#include <Guid/RamDiskHii.h>\r
20\r
20752cb8
HW
21#define MAIN_FORM_ID 0x1000\r
22#define MAIN_GOTO_FILE_EXPLORER_ID 0x1001\r
23#define MAIN_REMOVE_RD_QUESTION_ID 0x1002\r
09abc636
HW
24#define MAIN_LABEL_LIST_START 0x1003\r
25#define MAIN_LABEL_LIST_END 0x1004\r
26#define MAIN_CHECKBOX_QUESTION_ID_START 0x1100\r
20752cb8
HW
27\r
28#define CREATE_RAW_RAM_DISK_FORM_ID 0x2000\r
29#define CREATE_RAW_SIZE_QUESTION_ID 0x2001\r
30#define CREATE_RAW_SUBMIT_QUESTION_ID 0x2002\r
31#define CREATE_RAW_DISCARD_QUESTION_ID 0x2003\r
32\r
33typedef struct {\r
20752cb8 34 //\r
09abc636 35 // The size of the RAM disk to be created.\r
20752cb8 36 //\r
09abc636 37 UINT64 Size;\r
20752cb8
HW
38} RAM_DISK_CONFIGURATION;\r
39\r
40#endif\r