]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
IntelSiliconPkg: Replace BSD License with BSD+Patent License
[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
4b1f4646 5 (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
20752cb8
HW
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _RAM_DISK_NVDATA_H_\r
17#define _RAM_DISK_NVDATA_H_\r
18\r
19#include <Guid/HiiPlatformSetupFormset.h>\r
20#include <Guid/RamDiskHii.h>\r
21\r
20752cb8
HW
22#define MAIN_FORM_ID 0x1000\r
23#define MAIN_GOTO_FILE_EXPLORER_ID 0x1001\r
24#define MAIN_REMOVE_RD_QUESTION_ID 0x1002\r
09abc636
HW
25#define MAIN_LABEL_LIST_START 0x1003\r
26#define MAIN_LABEL_LIST_END 0x1004\r
27#define MAIN_CHECKBOX_QUESTION_ID_START 0x1100\r
20752cb8
HW
28\r
29#define CREATE_RAW_RAM_DISK_FORM_ID 0x2000\r
30#define CREATE_RAW_SIZE_QUESTION_ID 0x2001\r
31#define CREATE_RAW_SUBMIT_QUESTION_ID 0x2002\r
32#define CREATE_RAW_DISCARD_QUESTION_ID 0x2003\r
4b1f4646
TS
33#define CREATE_RAW_MEMORY_TYPE_QUESTION_ID 0x2004\r
34\r
35#define RAM_DISK_BOOT_SERVICE_DATA_MEMORY 0x00\r
36#define RAM_DISK_RESERVED_MEMORY 0x01\r
37#define RAM_DISK_MEMORY_TYPE_MAX 0x02\r
20752cb8
HW
38\r
39typedef struct {\r
20752cb8 40 //\r
09abc636 41 // The size of the RAM disk to be created.\r
20752cb8 42 //\r
09abc636 43 UINT64 Size;\r
4b1f4646
TS
44 //\r
45 // Selected RAM Disk Memory Type\r
46 //\r
47 UINT8 MemType;\r
20752cb8
HW
48} RAM_DISK_CONFIGURATION;\r
49\r
50#endif\r