]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/Include/Guid/LdrMemoryDescriptor.h
Clean up the private GUID definition in module Level.
[mirror_edk2.git] / DuetPkg / Include / Guid / LdrMemoryDescriptor.h
diff --git a/DuetPkg/Include/Guid/LdrMemoryDescriptor.h b/DuetPkg/Include/Guid/LdrMemoryDescriptor.h
new file mode 100644 (file)
index 0000000..5fd7aa1
--- /dev/null
@@ -0,0 +1,33 @@
+/** @file\r
+  Guid is for GUIDED HOB of LDR memory descriptor.\r
+\r
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+**/\r
+\r
+#ifndef __LDR_MEMORY_DESCRIPTOR__\r
+#define __LDR_MEMORY_DESCRIPTOR__\r
+\r
+#define LDR_MEMORY_DESCRIPTOR_GUID \\r
+  { 0x7701d7e5, 0x7d1d, 0x4432, {0xa4, 0x68, 0x67, 0x3d, 0xab, 0x8a, 0xde, 0x60}}\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+  EFI_HOB_GUID_TYPE             Hob;\r
+  UINTN                         MemDescCount;\r
+  EFI_MEMORY_DESCRIPTOR         *MemDesc;\r
+} MEMORY_DESC_HOB;\r
+\r
+#pragma pack()\r
+\r
+extern EFI_GUID gLdrMemoryDescriptorGuid;\r
+\r
+#endif\r