]>
Commit | Line | Data |
---|---|---|
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 |
9d510e61 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
20752cb8 HW |
7 | \r |
8 | **/\r | |
9 | \r | |
10 | #ifndef _RAM_DISK_NVDATA_H_\r | |
11 | #define _RAM_DISK_NVDATA_H_\r | |
12 | \r | |
13 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
14 | #include <Guid/RamDiskHii.h>\r | |
15 | \r | |
1436aea4 MK |
16 | #define MAIN_FORM_ID 0x1000\r |
17 | #define MAIN_GOTO_FILE_EXPLORER_ID 0x1001\r | |
18 | #define MAIN_REMOVE_RD_QUESTION_ID 0x1002\r | |
19 | #define MAIN_LABEL_LIST_START 0x1003\r | |
20 | #define MAIN_LABEL_LIST_END 0x1004\r | |
21 | #define MAIN_CHECKBOX_QUESTION_ID_START 0x1100\r | |
20752cb8 HW |
22 | \r |
23 | #define CREATE_RAW_RAM_DISK_FORM_ID 0x2000\r | |
24 | #define CREATE_RAW_SIZE_QUESTION_ID 0x2001\r | |
25 | #define CREATE_RAW_SUBMIT_QUESTION_ID 0x2002\r | |
26 | #define CREATE_RAW_DISCARD_QUESTION_ID 0x2003\r | |
4b1f4646 TS |
27 | #define CREATE_RAW_MEMORY_TYPE_QUESTION_ID 0x2004\r |
28 | \r | |
1436aea4 MK |
29 | #define RAM_DISK_BOOT_SERVICE_DATA_MEMORY 0x00\r |
30 | #define RAM_DISK_RESERVED_MEMORY 0x01\r | |
31 | #define RAM_DISK_MEMORY_TYPE_MAX 0x02\r | |
20752cb8 HW |
32 | \r |
33 | typedef struct {\r | |
20752cb8 | 34 | //\r |
09abc636 | 35 | // The size of the RAM disk to be created.\r |
20752cb8 | 36 | //\r |
1436aea4 | 37 | UINT64 Size;\r |
4b1f4646 TS |
38 | //\r |
39 | // Selected RAM Disk Memory Type\r | |
40 | //\r | |
1436aea4 | 41 | UINT8 MemType;\r |
20752cb8 HW |
42 | } RAM_DISK_CONFIGURATION;\r |
43 | \r | |
44 | #endif\r |