]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | This file defines the hob structure for memory map information.\r | |
3 | \r | |
4 | Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #ifndef __MEMORY_MAP_INFO_GUID_H__\r | |
10 | #define __MEMORY_MAP_INFO_GUID_H__\r | |
11 | \r | |
12 | #include <Library/PcdLib.h>\r | |
13 | \r | |
14 | ///\r | |
15 | /// Memory Map Information GUID\r | |
16 | ///\r | |
17 | extern EFI_GUID gLoaderMemoryMapInfoGuid;\r | |
18 | \r | |
19 | #pragma pack(1)\r | |
20 | typedef struct {\r | |
21 | UINT64 Base;\r | |
22 | UINT64 Size;\r | |
23 | UINT8 Type;\r | |
24 | UINT8 Flag;\r | |
25 | UINT8 Reserved[6];\r | |
26 | } MEMORY_MAP_ENTRY;\r | |
27 | \r | |
28 | typedef struct {\r | |
29 | UINT8 Revision;\r | |
30 | UINT8 Reserved0[3];\r | |
31 | UINT32 Count;\r | |
32 | MEMORY_MAP_ENTRY Entry[0];\r | |
33 | } MEMORY_MAP_INFO;\r | |
34 | #pragma pack()\r | |
35 | \r | |
36 | #endif\r |