summaryrefslogtreecommitdiff
path: root/DuetPkg/Include/Guid/LdrMemoryDescriptor.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-20 02:12:45 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-20 02:12:45 +0000
commitdb4d3fa114f01798537315b5b54da32204415332 (patch)
tree9f9ac8946a70df44980f442b84664eb3160670c9 /DuetPkg/Include/Guid/LdrMemoryDescriptor.h
parentd499fad0b0732c31d75a32b6d45a2d3597018087 (diff)
downloadedk2-platforms-db4d3fa114f01798537315b5b54da32204415332.tar.xz
Clean up the private GUID definition in module Level.
Signed-off-by: lgao4 Reviewed-by: rni2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12385 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/Include/Guid/LdrMemoryDescriptor.h')
-rw-r--r--DuetPkg/Include/Guid/LdrMemoryDescriptor.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/DuetPkg/Include/Guid/LdrMemoryDescriptor.h b/DuetPkg/Include/Guid/LdrMemoryDescriptor.h
new file mode 100644
index 0000000000..5fd7aa1858
--- /dev/null
+++ b/DuetPkg/Include/Guid/LdrMemoryDescriptor.h
@@ -0,0 +1,33 @@
+/** @file
+ Guid is for GUIDED HOB of LDR memory descriptor.
+
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __LDR_MEMORY_DESCRIPTOR__
+#define __LDR_MEMORY_DESCRIPTOR__
+
+#define LDR_MEMORY_DESCRIPTOR_GUID \
+ { 0x7701d7e5, 0x7d1d, 0x4432, {0xa4, 0x68, 0x67, 0x3d, 0xab, 0x8a, 0xde, 0x60}}
+
+#pragma pack(1)
+
+typedef struct {
+ EFI_HOB_GUID_TYPE Hob;
+ UINTN MemDescCount;
+ EFI_MEMORY_DESCRIPTOR *MemDesc;
+} MEMORY_DESC_HOB;
+
+#pragma pack()
+
+extern EFI_GUID gLdrMemoryDescriptorGuid;
+
+#endif