]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / RamDiskDxe / RamDiskNVData.h
1 /** @file
2 Header file for NV data structure definition.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef _RAM_DISK_NVDATA_H_
11 #define _RAM_DISK_NVDATA_H_
12
13 #include <Guid/HiiPlatformSetupFormset.h>
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
33 typedef 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;
42 } RAM_DISK_CONFIGURATION;
43
44 #endif