TianoCore EDK2 master
Loading...
Searching...
No Matches
RamDiskNVData.h
Go to the documentation of this file.
1
10#ifndef _RAM_DISK_NVDATA_H_
11#define _RAM_DISK_NVDATA_H_
12
14#include <Guid/RamDiskHii.h>
15
16#define MAIN_FORM_ID 0x1000
17#define MAIN_GOTO_FILE_EXPLORER_ID 0x1001
18#define MAIN_REMOVE_RD_QUESTION_ID 0x1002
19#define MAIN_LABEL_LIST_START 0x1003
20#define MAIN_LABEL_LIST_END 0x1004
21#define MAIN_CHECKBOX_QUESTION_ID_START 0x1100
22
23#define CREATE_RAW_RAM_DISK_FORM_ID 0x2000
24#define CREATE_RAW_SIZE_QUESTION_ID 0x2001
25#define CREATE_RAW_SUBMIT_QUESTION_ID 0x2002
26#define CREATE_RAW_DISCARD_QUESTION_ID 0x2003
27#define CREATE_RAW_MEMORY_TYPE_QUESTION_ID 0x2004
28
29#define RAM_DISK_BOOT_SERVICE_DATA_MEMORY 0x00
30#define RAM_DISK_RESERVED_MEMORY 0x01
31#define RAM_DISK_MEMORY_TYPE_MAX 0x02
32
33typedef struct {
34 //
35 // The size of the RAM disk to be created.
36 //
37 UINT64 Size;
38 //
39 // Selected RAM Disk Memory Type
40 //
41 UINT8 MemType;
43
44#endif