]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Guid/SmramMemoryReserve.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Guid / SmramMemoryReserve.h
CommitLineData
d21e5dbb
CM
1/** @file\r
2 This is a special GUID extension Hob to describe SMRAM memory regions.\r
3\r
4 This file defines:\r
5 * the GUID used to identify the GUID HOB for reserving SMRAM regions.\r
6 * the data structure of SMRAM descriptor to describe SMRAM candidate regions\r
7 * values of state of SMRAM candidate regions\r
8 * the GUID specific data structure of HOB for reserving SMRAM regions.\r
9\r
10 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
11 SPDX-License-Identifier: BSD-2-Clause-Patent\r
12\r
13 @par Revision Reference:\r
14 GUIDs defined in PI SPEC version 1.5.\r
15\r
16**/\r
17\r
18#ifndef _SMRAM_MEMORY_RESERVE_H_\r
19#define _SMRAM_MEMORY_RESERVE_H_\r
20\r
21#define EFI_SMM_SMRAM_MEMORY_GUID \\r
22 { \\r
23 0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \\r
24 }\r
25\r
26/**\r
27* The GUID extension hob is to describe SMRAM memory regions supported by the platform.\r
28**/\r
29typedef struct {\r
30 ///\r
31 /// Designates the number of possible regions in the system\r
32 /// that can be usable for SMRAM.\r
33 ///\r
2f88bd3a 34 UINT32 NumberOfSmmReservedRegions;\r
d21e5dbb
CM
35 ///\r
36 /// Used throughout this protocol to describe the candidate\r
37 /// regions for SMRAM that are supported by this platform.\r
38 ///\r
2f88bd3a 39 EFI_SMRAM_DESCRIPTOR Descriptor[1];\r
d21e5dbb
CM
40} EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
41\r
2f88bd3a 42extern EFI_GUID gEfiSmmSmramMemoryGuid;\r
d21e5dbb
CM
43\r
44#endif\r